Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 99.98 kB / 16.27 MB, free: 5.965 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.001245/0.001246, allocations: 191.2 kB / 17.19 MB, free: 5.594 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.421/1.421, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.814/0.814, allocations: 126.7 MB / 417.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.89 kB / 0.4957 GB, free: 2.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4118, allocations: 78.87 MB / 0.5728 GB, free: 30.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.2084/0.6203, allocations: 162 MB / 0.731 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4429/1.063, allocations: 26.94 MB / 0.7573 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003423/1.067, allocations: 70.16 kB / 0.7574 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002329/1.069, allocations: 1.043 MB / 0.7584 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005783/1.075, allocations: 1.792 MB / 0.7601 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004837/1.08, allocations: 1.723 MB / 0.7618 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007847/1.088, allocations: 5.28 MB / 0.767 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006333/1.094, allocations: 4.16 MB / 0.771 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005492/1.099, allocations: 2.108 MB / 0.7731 GB, free: 17.26 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004445/1.104, allocations: 2.523 MB / 0.7755 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009632/1.105, allocations: 458.8 kB / 0.776 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002554/1.107, allocations: 1.035 MB / 0.777 GB, free: 17.19 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0008086/1.108, allocations: 1.174 MB / 0.7781 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002384/1.111, allocations: 2.129 MB / 0.7802 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006234/1.117, allocations: 5.874 MB / 0.786 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.117, allocations: 0 / 0.786 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.315e-06/1.117, allocations: 0 / 0.786 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001606/1.117, allocations: 4.156 kB / 0.786 GB, free: 15.68 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: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.01068/1.128, allocations: 4.62 MB / 0.7905 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/1.128, allocations: 11.59 kB / 0.7905 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/1.141, allocations: 2.779 MB / 0.7932 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005272/1.147, allocations: 2.266 MB / 0.7954 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/1.147, allocations: 242.7 kB / 0.7956 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007906/1.148, allocations: 314 kB / 0.7959 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01225/1.16, allocations: 5.166 MB / 0.801 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.499e-05/1.16, allocations: 0 / 0.801 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004632/1.16, allocations: 131.1 kB / 0.8011 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/1.161, allocations: 77.06 kB / 0.8012 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01587/1.176, allocations: 6.295 MB / 0.8073 GB, free: 10.55 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.02826/1.205, allocations: 14.71 MB / 0.8217 GB, free: 15.94 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01176/1.217, allocations: 4.7 MB / 0.8263 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005787/1.222, allocations: 2.437 MB / 0.8287 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/1.223, allocations: 0.6661 MB / 0.8293 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006121/1.23, allocations: 2.628 MB / 0.8319 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=278): time 4.568e-06/1.23, allocations: 0 / 0.8319 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=278): time 0.01943/1.249, allocations: 7.396 MB / 0.8391 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/1.249, allocations: 206.1 kB / 0.8393 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003921/1.253, allocations: 2.442 MB / 0.8417 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000483/1.254, allocations: 77.7 kB / 0.8418 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001406/1.255, allocations: 1.341 MB / 0.8431 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.00115/1.256, allocations: 0.9089 MB / 0.844 GB, free: 8.816 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00097/1.257, allocations: 0.5047 MB / 0.8444 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.257, allocations: 309 kB / 0.8447 GB, free: 8 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004921/1.262, allocations: 2.027 MB / 0.8467 GB, free: 5.969 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005322/1.268, allocations: 2.34 MB / 0.849 GB, free: 3.559 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/1.278, allocations: 4.278 MB / 0.8532 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/1.278, allocations: 0 / 0.8532 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01252/1.29, allocations: 4.997 MB / 0.8581 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.796e-05/1.29, allocations: 12.03 kB / 0.8581 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.29, allocations: 4 kB / 0.8581 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006562/1.291, allocations: 236.6 kB / 0.8583 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004197/1.295, allocations: 0.8111 MB / 0.8591 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/1.3, allocations: 3.372 MB / 0.8624 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004196/1.304, allocations: 0.5557 MB / 0.8629 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004259/1.304, allocations: 111.9 kB / 0.863 GB, free: 5 MB / 0.6387 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 (300): * Single equations (assignments): 299 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002499/1.307, allocations: 0.958 MB / 0.864 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001123/1.308, allocations: 272.5 kB / 0.8642 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01602/1.324, allocations: 5.638 MB / 0.8697 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.191e-05/1.324, allocations: 28 kB / 0.8698 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.639e-05/1.324, allocations: 4 kB / 0.8698 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-05/1.324, allocations: 11.95 kB / 0.8698 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007281/1.331, allocations: 3.694 MB / 0.8734 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-05/1.332, allocations: 0 / 0.8734 GB, free: 10.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004156/1.336, allocations: 0.7464 MB / 0.8741 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008705/1.337, allocations: 271.5 kB / 0.8744 GB, free: 9.395 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000411/1.337, allocations: 79.91 kB / 0.8745 GB, free: 9.316 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005901/1.343, allocations: 5.245 MB / 0.8796 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.343, allocations: 0 / 0.8796 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/1.362, allocations: 8.019 MB / 0.8874 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002228/1.364, allocations: 0.8288 MB / 0.8882 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005795/1.365, allocations: 71.84 kB / 0.8883 GB, free: 10.78 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00334/1.368, allocations: 411.4 kB / 0.8887 GB, free: 10.38 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005245/1.369, allocations: 210 kB / 0.8889 GB, free: 10.17 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002757/1.369, allocations: 107.9 kB / 0.889 GB, free: 10.06 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002734/1.372, allocations: 1.777 MB / 0.8907 GB, free: 8.273 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.2e-07/1.372, allocations: 4 kB / 0.8907 GB, free: 8.27 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003146/1.375, allocations: 1.06 MB / 0.8918 GB, free: 7.207 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (276): * Single equations (assignments): 262 * 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 {(2,16,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.003599/1.378, allocations: 1.055 MB / 0.8928 GB, free: 6.594 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02227/1.401, allocations: 8.537 MB / 0.9011 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.401, allocations: 0 / 0.9011 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.006447/1.407, allocations: 2.771 MB / 0.9038 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004488/1.412, allocations: 0.7104 MB / 0.9045 GB, free: 10.65 MB / 0.6856 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.01714/1.429, allocations: 8.003 MB / 0.9123 GB, free: 2.613 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00247/1.431, allocations: 2.452 MB / 0.9147 GB, free: 128 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.004817/1.436, allocations: 1.143 MB / 0.9158 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/1.437, allocations: 282.3 kB / 0.9161 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of SimCode: time 6.62e-07/1.437, allocations: 0 / 0.9161 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of Templates: time 0.08706/1.524, allocations: 48.34 MB / 0.9633 GB, free: 14.84 MB / 0.7481 GB make -j1 -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)