Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001262, allocations: 99.31 kB / 16.64 MB, free: 6.809 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.001238/0.001238, allocations: 189.9 kB / 17.56 MB, free: 5.941 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.426/1.426, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8266/0.8266, allocations: 125.4 MB / 416.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 63.91 kB / 0.4943 GB, free: 4.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3899, allocations: 78.56 MB / 0.571 GB, free: 31.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.1952/0.5852, allocations: 162.8 MB / 0.7299 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4488/1.034, allocations: 27.42 MB / 0.7567 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004948/1.039, allocations: 80.34 kB / 0.7568 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003897/1.043, allocations: 1.058 MB / 0.7578 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007546/1.051, allocations: 1.882 MB / 0.7597 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005834/1.056, allocations: 1.858 MB / 0.7615 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01072/1.067, allocations: 6.606 MB / 0.7679 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008529/1.076, allocations: 4.931 MB / 0.7727 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00673/1.082, allocations: 2.509 MB / 0.7752 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00566/1.088, allocations: 3.064 MB / 0.7782 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001996/1.09, allocations: 0.5534 MB / 0.7787 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004221/1.094, allocations: 1.146 MB / 0.7798 GB, free: 17.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001807/1.096, allocations: 1.438 MB / 0.7812 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004931/1.101, allocations: 2.599 MB / 0.7838 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007431/1.109, allocations: 5.659 MB / 0.7893 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.109, allocations: 3.938 kB / 0.7893 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.603e-06/1.109, allocations: 0.9375 kB / 0.7893 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002676/1.109, allocations: 0 / 0.7893 GB, free: 15.75 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: 989 * Number of variables: 989 Notification: Performance of Generate backend data structure: time 0.01744/1.126, allocations: 5.446 MB / 0.7946 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/1.126, allocations: 8.062 kB / 0.7946 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/1.141, allocations: 2.85 MB / 0.7974 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006646/1.148, allocations: 2.645 MB / 0.8 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003211/1.148, allocations: 295.2 kB / 0.8003 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001797/1.15, allocations: 379.1 kB / 0.8006 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01695/1.167, allocations: 5.931 MB / 0.8064 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-05/1.167, allocations: 0 / 0.8064 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006064/1.168, allocations: 165.3 kB / 0.8066 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.904e-05/1.168, allocations: 93.34 kB / 0.8067 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01809/1.186, allocations: 7.042 MB / 0.8136 GB, free: 9.105 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.04267/1.228, allocations: 18.35 MB / 0.8315 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.012/1.24, allocations: 4.792 MB / 0.8362 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007213/1.248, allocations: 3.071 MB / 0.8392 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/1.249, allocations: 0.6733 MB / 0.8398 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00781/1.257, allocations: 2.972 MB / 0.8427 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=336): time 5.731e-06/1.257, allocations: 4 kB / 0.8427 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of matching and sorting (n=336): time 0.03034/1.287, allocations: 10.17 MB / 0.8527 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001769/1.287, allocations: 218.5 kB / 0.8529 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004984/1.292, allocations: 2.794 MB / 0.8556 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001094/1.293, allocations: 89.69 kB / 0.8557 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001882/1.295, allocations: 1.582 MB / 0.8572 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002121/1.298, allocations: 1.109 MB / 0.8583 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/1.299, allocations: 0.5852 MB / 0.8589 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.299, allocations: 309.1 kB / 0.8592 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005903/1.305, allocations: 2.323 MB / 0.8614 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0068/1.312, allocations: 2.673 MB / 0.8641 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01348/1.325, allocations: 4.919 MB / 0.8689 GB, free: 164 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-05/1.325, allocations: 0 / 0.8689 GB, free: 164 kB / 0.6387 GB Notification: Performance of matching and sorting (n=383) (initialization): time 0.01767/1.343, allocations: 6.098 MB / 0.8748 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/1.343, allocations: 8 kB / 0.8748 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/1.343, allocations: 4 kB / 0.8748 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001953/1.345, allocations: 0.8423 MB / 0.8756 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005003/1.35, allocations: 0.8442 MB / 0.8765 GB, free: 8.406 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/1.362, allocations: 7.574 MB / 0.8839 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005314/1.368, allocations: 0.6333 MB / 0.8845 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009874/1.369, allocations: 123.9 kB / 0.8846 GB, free: 15.96 MB / 0.67 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 (319): * Single equations (assignments): 318 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003309/1.372, allocations: 1.094 MB / 0.8857 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/1.373, allocations: 320 kB / 0.886 GB, free: 14.57 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01701/1.39, allocations: 6.758 MB / 0.8926 GB, free: 7.785 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.633e-05/1.39, allocations: 39.94 kB / 0.8926 GB, free: 7.746 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.642e-05/1.39, allocations: 11.98 kB / 0.8926 GB, free: 7.734 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.125e-05/1.39, allocations: 15.94 kB / 0.8926 GB, free: 7.719 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008312/1.399, allocations: 4.398 MB / 0.8969 GB, free: 3.324 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/1.399, allocations: 0 / 0.8969 GB, free: 3.324 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004532/1.403, allocations: 0.7865 MB / 0.8977 GB, free: 2.562 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002194/1.405, allocations: 0.7486 MB / 0.8984 GB, free: 1.805 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008036/1.406, allocations: 91.92 kB / 0.8985 GB, free: 1.715 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01387/1.42, allocations: 10.66 MB / 0.9089 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.42, allocations: 0 / 0.9089 GB, free: 6.66 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02356/1.444, allocations: 9.583 MB / 0.9183 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003047/1.447, allocations: 0.9568 MB / 0.9192 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009842/1.448, allocations: 79.92 kB / 0.9193 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00402/1.452, allocations: 472.8 kB / 0.9198 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006772/1.453, allocations: 245.3 kB / 0.92 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003354/1.453, allocations: 127.8 kB / 0.9201 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003558/1.456, allocations: 2.025 MB / 0.9221 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.01e-07/1.456, allocations: 0 / 0.9221 GB, free: 9.121 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.005141/1.462, allocations: 1.321 MB / 0.9234 GB, free: 7.797 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.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 (295): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.004046/1.466, allocations: 1.063 MB / 0.9244 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.02815/1.494, allocations: 10.13 MB / 0.9343 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.494, allocations: 4 kB / 0.9343 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008674/1.503, allocations: 3.477 MB / 0.9377 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004769/1.507, allocations: 0.8318 MB / 0.9385 GB, free: 8.824 MB / 0.7169 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.02297/1.53, allocations: 11.14 MB / 0.9494 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003206/1.534, allocations: 2.698 MB / 0.952 GB, free: 10.92 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002728/1.536, allocations: 347.2 kB / 0.9524 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of SimCode: time 1.573e-06/1.536, allocations: 0 / 0.9524 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of Templates: time 0.4225/1.959, allocations: 107.8 MB / 1.058 GB, free: 354.7 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)