Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 95.52 kB / 16.63 MB, free: 6.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 186.5 kB / 17.56 MB, free: 5.816 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 241.3 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8074/0.8074, allocations: 125.4 MB / 416.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.91 kB / 0.4943 GB, free: 4.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3596, allocations: 78.56 MB / 0.571 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1892/0.5488, allocations: 161.4 MB / 0.7286 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3716/0.9204, allocations: 27.03 MB / 0.755 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003645/0.9241, allocations: 72.22 kB / 0.7551 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00296/0.9271, allocations: 0.9948 MB / 0.756 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006126/0.9333, allocations: 1.767 MB / 0.7578 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004457/0.9378, allocations: 1.686 MB / 0.7594 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008921/0.9467, allocations: 5.943 MB / 0.7652 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006524/0.9533, allocations: 4.587 MB / 0.7697 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005338/0.9586, allocations: 2.319 MB / 0.7719 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00476/0.9634, allocations: 2.83 MB / 0.7747 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001687/0.9651, allocations: 0.5074 MB / 0.7752 GB, free: 17.17 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003553/0.9687, allocations: 1.1 MB / 0.7763 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001376/0.9701, allocations: 1.32 MB / 0.7776 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003775/0.9739, allocations: 2.38 MB / 0.7799 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005842/0.9798, allocations: 5.218 MB / 0.785 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.9798, allocations: 0.9375 kB / 0.785 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9798, allocations: 0 / 0.785 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002134/0.98, allocations: 0 / 0.785 GB, free: 15.98 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.0126/0.9926, allocations: 5.072 MB / 0.7899 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.9927, allocations: 11.22 kB / 0.79 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/1.007, allocations: 2.82 MB / 0.7927 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005986/1.013, allocations: 2.485 MB / 0.7951 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/1.013, allocations: 262.7 kB / 0.7954 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009877/1.014, allocations: 355.6 kB / 0.7957 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/1.027, allocations: 5.582 MB / 0.8012 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-05/1.027, allocations: 1.25 kB / 0.8012 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004772/1.027, allocations: 142.7 kB / 0.8013 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.445e-05/1.028, allocations: 95.88 kB / 0.8014 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01686/1.044, allocations: 6.71 MB / 0.808 GB, free: 10.48 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03497/1.079, allocations: 16.7 MB / 0.8243 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/1.09, allocations: 4.397 MB / 0.8286 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00651/1.097, allocations: 2.78 MB / 0.8313 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/1.098, allocations: 0.6777 MB / 0.8319 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007314/1.105, allocations: 2.832 MB / 0.8347 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=309): time 9.938e-06/1.105, allocations: 112 / 0.8347 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=309): time 0.02574/1.131, allocations: 8.841 MB / 0.8433 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/1.131, allocations: 218.4 kB / 0.8435 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0043/1.135, allocations: 2.636 MB / 0.8461 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.00088/1.136, allocations: 89.69 kB / 0.8462 GB, free: 6.852 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001638/1.138, allocations: 1.475 MB / 0.8476 GB, free: 5.363 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001738/1.14, allocations: 1.01 MB / 0.8486 GB, free: 4.363 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/1.141, allocations: 0.5446 MB / 0.8492 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.141, allocations: 305.1 kB / 0.8495 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005247/1.146, allocations: 2.198 MB / 0.8516 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00588/1.152, allocations: 2.52 MB / 0.8541 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01173/1.164, allocations: 4.646 MB / 0.8586 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.612e-05/1.164, allocations: 4 kB / 0.8586 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.0147/1.179, allocations: 5.62 MB / 0.8641 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.225e-05/1.179, allocations: 9.875 kB / 0.8641 GB, free: 4.387 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.179, allocations: 8 kB / 0.8641 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/1.18, allocations: 0.5452 MB / 0.8646 GB, free: 3.832 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004536/1.185, allocations: 0.8286 MB / 0.8654 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00856/1.193, allocations: 5.736 MB / 0.8711 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004963/1.198, allocations: 0.6139 MB / 0.8716 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008417/1.199, allocations: 119.9 kB / 0.8718 GB, free: 12.44 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,$PRE.HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,$PRE.HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,$PRE.HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,$PRE.HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (310): * Single equations (assignments): 309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002969/1.202, allocations: 1.033 MB / 0.8728 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/1.203, allocations: 300.2 kB / 0.8731 GB, free: 11.13 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/1.219, allocations: 6.255 MB / 0.8792 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.873e-05/1.219, allocations: 35.98 kB / 0.8792 GB, free: 4.805 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.815e-05/1.219, allocations: 12 kB / 0.8792 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.486e-05/1.219, allocations: 11.95 kB / 0.8792 GB, free: 4.781 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007457/1.227, allocations: 4.098 MB / 0.8832 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/1.227, allocations: 4 kB / 0.8832 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004287/1.231, allocations: 0.7672 MB / 0.884 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001537/1.232, allocations: 0.5266 MB / 0.8845 GB, free: 15.42 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005556/1.233, allocations: 91.86 kB / 0.8846 GB, free: 15.33 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00963/1.243, allocations: 7.543 MB / 0.8919 GB, free: 7.52 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.243, allocations: 4 kB / 0.892 GB, free: 7.516 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02158/1.264, allocations: 8.907 MB / 0.9006 GB, free: 14.55 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002882/1.267, allocations: 0.8909 MB / 0.9015 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009453/1.268, allocations: 79.83 kB / 0.9016 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00391/1.272, allocations: 465.5 kB / 0.902 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006037/1.273, allocations: 234.2 kB / 0.9023 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003195/1.273, allocations: 111.9 kB / 0.9024 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003187/1.276, allocations: 1.915 MB / 0.9042 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/1.276, allocations: 0 / 0.9042 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.004046/1.28, allocations: 1.212 MB / 0.9054 GB, free: 9.629 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.thermCapExt[1].T) * Number of discrete variables: 21 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDirTil[2].incAng.decAng.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 11 (intGai.nextTimeEventScaled,intGai.nextTimeEvent,HDirTil[2].incAng.decAng.tNext,HDirTil[1].incAng.decAng.tNext,HDifTil[2].incAng.decAng.tNext,HDifTil[1].incAng.decAng.tNext,weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 271 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,36,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003821/1.284, allocations: 1.058 MB / 0.9065 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02598/1.31, allocations: 9.414 MB / 0.9156 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/1.31, allocations: 0 / 0.9156 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.008014/1.318, allocations: 3.106 MB / 0.9187 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004857/1.323, allocations: 0.7773 MB / 0.9194 GB, free: 11.82 MB / 0.7012 GB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/1.343, allocations: 10.37 MB / 0.9296 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002603/1.345, allocations: 2.556 MB / 0.9321 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002282/1.348, allocations: 331.2 kB / 0.9324 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of SimCode: time 1.012e-06/1.348, allocations: 4 kB / 0.9324 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of Templates: time 0.1313/1.479, allocations: 92.51 MB / 1.023 GB, free: 2.207 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)