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.001209/0.001209, allocations: 107.5 kB / 16.52 MB, free: 6.711 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.001277/0.001277, allocations: 199.1 kB / 17.44 MB, free: 6.066 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.289/1.289, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7187/0.7187, allocations: 115.3 MB / 406.6 MB, free: 6.473 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 63.89 kB / 493.5 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3921, allocations: 76.17 MB / 0.5564 GB, free: 36.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1658/0.5579, allocations: 161.2 MB / 0.7138 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03515/0.5931, allocations: 27.2 MB / 0.7403 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003666/0.5968, allocations: 75.62 kB / 0.7404 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003147/0.6, allocations: 0.9954 MB / 0.7414 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005719/0.6058, allocations: 1.751 MB / 0.7431 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004555/0.6103, allocations: 1.661 MB / 0.7447 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.313/0.9234, allocations: 6.142 MB / 0.7507 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006854/0.9303, allocations: 4.074 MB / 0.7547 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004635/0.9349, allocations: 1.91 MB / 0.7566 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00556/0.9405, allocations: 2.588 MB / 0.7591 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001688/0.9422, allocations: 270.8 kB / 0.7593 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004006/0.9462, allocations: 0.8699 MB / 0.7602 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001938/0.9482, allocations: 1.049 MB / 0.7612 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00606/0.9543, allocations: 2.113 MB / 0.7633 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006486/0.9608, allocations: 5.158 MB / 0.7683 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.9608, allocations: 0 / 0.7683 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9608, allocations: 0.875 kB / 0.7683 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002361/0.9611, allocations: 0 / 0.7683 GB, free: 2.406 MB / 0.5762 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.01626/0.9774, allocations: 5.074 MB / 0.7733 GB, free: 368 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.9774, allocations: 13.91 kB / 0.7733 GB, free: 364 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01442/0.9919, allocations: 2.809 MB / 0.776 GB, free: 84 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006867/0.9988, allocations: 2.488 MB / 0.7785 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002549/0.9991, allocations: 266.5 kB / 0.7787 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001534/1.001, allocations: 353.3 kB / 0.7791 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/1.015, allocations: 5.583 MB / 0.7845 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.959e-05/1.015, allocations: 3.906 kB / 0.7845 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004537/1.015, allocations: 145 kB / 0.7846 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.973e-05/1.015, allocations: 85.06 kB / 0.7847 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01536/1.031, allocations: 6.711 MB / 0.7913 GB, free: 14.57 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.03733/1.068, allocations: 16.98 MB / 0.8079 GB, free: 6.027 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/1.078, allocations: 4.4 MB / 0.8122 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00601/1.084, allocations: 2.779 MB / 0.8149 GB, free: 4.414 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/1.086, allocations: 0.674 MB / 0.8155 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007626/1.093, allocations: 2.822 MB / 0.8183 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=309): time 6.792e-06/1.093, allocations: 0 / 0.8183 GB, free: 1.473 MB / 0.5919 GB Notification: Performance of matching and sorting (n=309): time 0.02589/1.119, allocations: 8.85 MB / 0.8269 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/1.119, allocations: 213.5 kB / 0.8271 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005299/1.125, allocations: 2.64 MB / 0.8297 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0009513/1.126, allocations: 85.69 kB / 0.8298 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001751/1.127, allocations: 1.477 MB / 0.8312 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001881/1.129, allocations: 1.011 MB / 0.8322 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002613/1.132, allocations: 0.5469 MB / 0.8328 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.132, allocations: 301.1 kB / 0.833 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005944/1.138, allocations: 2.195 MB / 0.8352 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006468/1.144, allocations: 2.527 MB / 0.8377 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/1.157, allocations: 4.648 MB / 0.8422 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/1.157, allocations: 0 / 0.8422 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01716/1.174, allocations: 5.617 MB / 0.8477 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/1.174, allocations: 4 kB / 0.8477 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/1.174, allocations: 4 kB / 0.8477 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/1.175, allocations: 0.5563 MB / 0.8482 GB, free: 4.324 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005035/1.18, allocations: 0.8277 MB / 0.849 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008323/1.189, allocations: 5.297 MB / 0.8542 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005469/1.194, allocations: 0.6082 MB / 0.8548 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/1.195, allocations: 127.9 kB / 0.8549 GB, free: 13.37 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 (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.003814/1.199, allocations: 1.023 MB / 0.8559 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001674/1.201, allocations: 304.2 kB / 0.8562 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01755/1.218, allocations: 6.262 MB / 0.8623 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.062e-05/1.219, allocations: 32 kB / 0.8624 GB, free: 5.734 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.086e-05/1.219, allocations: 4 kB / 0.8624 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.365e-05/1.219, allocations: 19.94 kB / 0.8624 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008428/1.227, allocations: 4.098 MB / 0.8664 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.951e-05/1.227, allocations: 0 / 0.8664 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004389/1.232, allocations: 0.7759 MB / 0.8671 GB, free: 0.8906 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/1.233, allocations: 0.5222 MB / 0.8677 GB, free: 368 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006247/1.234, allocations: 87.92 kB / 0.8677 GB, free: 280 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00858/1.242, allocations: 6.95 MB / 0.8745 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.242, allocations: 0 / 0.8745 GB, free: 9.059 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02216/1.265, allocations: 8.901 MB / 0.8832 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003054/1.268, allocations: 0.9026 MB / 0.8841 GB, free: 15.18 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001541/1.269, allocations: 75.83 kB / 0.8842 GB, free: 15.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004741/1.274, allocations: 463.1 kB / 0.8846 GB, free: 14.65 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001092/1.275, allocations: 233.1 kB / 0.8848 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008425/1.276, allocations: 115.9 kB / 0.8849 GB, free: 14.31 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004038/1.28, allocations: 1.911 MB / 0.8868 GB, free: 12.39 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.31e-07/1.28, allocations: 0 / 0.8868 GB, free: 12.39 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.006163/1.286, allocations: 1.208 MB / 0.888 GB, free: 11.18 MB / 0.67 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.003472/1.29, allocations: 1.06 MB / 0.889 GB, free: 10.56 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01435/1.304, allocations: 5.407 MB / 0.8943 GB, free: 5.152 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.304, allocations: 0.6875 kB / 0.8943 GB, free: 5.152 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008176/1.312, allocations: 3.106 MB / 0.8973 GB, free: 2.07 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005893/1.318, allocations: 0.7215 MB / 0.898 GB, free: 1.363 MB / 0.67 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.02157/1.34, allocations: 10.37 MB / 0.9082 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003378/1.343, allocations: 2.552 MB / 0.9107 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002983/1.346, allocations: 331.2 kB / 0.911 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of SimCode: time 7.51e-07/1.346, allocations: 8 kB / 0.911 GB, free: 4.055 MB / 0.6856 GB Notification: Performance of Templates: time 0.1278/1.474, allocations: 92.49 MB / 1.001 GB, free: 7.84 MB / 0.7794 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)