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.001881/0.001881, allocations: 103.9 kB / 16.94 MB, free: 6.191 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.002497/0.002497, allocations: 191.4 kB / 17.86 MB, free: 5.293 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.505/1.505, allocations: 222.9 MB / 241.6 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7338/0.7338, allocations: 122.9 MB / 414.6 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 63.91 kB / 0.4917 GB, free: 7.473 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3798, allocations: 77.93 MB / 0.5678 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1774/0.5573, allocations: 162 MB / 0.726 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4519/1.009, allocations: 26.92 MB / 0.7523 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003768/1.013, allocations: 73.22 kB / 0.7524 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002709/1.016, allocations: 1.046 MB / 0.7534 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005767/1.022, allocations: 1.792 MB / 0.7551 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004467/1.026, allocations: 1.719 MB / 0.7568 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008277/1.034, allocations: 5.268 MB / 0.762 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006069/1.041, allocations: 4.164 MB / 0.766 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004981/1.046, allocations: 2.103 MB / 0.7681 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004768/1.05, allocations: 2.519 MB / 0.7705 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001419/1.052, allocations: 459.3 kB / 0.771 GB, free: 17.34 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003081/1.055, allocations: 1.036 MB / 0.772 GB, free: 17.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000975/1.056, allocations: 1.175 MB / 0.7731 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00293/1.059, allocations: 2.135 MB / 0.7752 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006168/1.065, allocations: 5.863 MB / 0.7809 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.065, allocations: 0.9375 kB / 0.7809 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.763e-06/1.065, allocations: 0 / 0.7809 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001562/1.065, allocations: 0 / 0.7809 GB, free: 15.81 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.009817/1.075, allocations: 4.62 MB / 0.7855 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/1.075, allocations: 7.938 kB / 0.7855 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/1.088, allocations: 2.771 MB / 0.7882 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004816/1.093, allocations: 2.277 MB / 0.7904 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/1.093, allocations: 242.6 kB / 0.7906 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000863/1.094, allocations: 309 kB / 0.7909 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01132/1.106, allocations: 5.168 MB / 0.796 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.129e-05/1.106, allocations: 1.906 kB / 0.796 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004135/1.106, allocations: 133.8 kB / 0.7961 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.991e-05/1.106, allocations: 74.62 kB / 0.7962 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0149/1.121, allocations: 6.285 MB / 0.8023 GB, free: 11.17 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.0265/1.148, allocations: 14.94 MB / 0.8169 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/1.158, allocations: 4.707 MB / 0.8215 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005301/1.164, allocations: 2.437 MB / 0.8239 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009051/1.164, allocations: 0.6677 MB / 0.8245 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005759/1.17, allocations: 2.62 MB / 0.8271 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=278): time 5.35e-06/1.17, allocations: 3.938 kB / 0.8271 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of matching and sorting (n=278): time 0.01814/1.188, allocations: 7.404 MB / 0.8343 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/1.189, allocations: 210.1 kB / 0.8345 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003274/1.192, allocations: 2.438 MB / 0.8369 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0005337/1.192, allocations: 77.69 kB / 0.837 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001113/1.194, allocations: 1.328 MB / 0.8383 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.001053/1.195, allocations: 0.9102 MB / 0.8392 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009537/1.196, allocations: 0.5106 MB / 0.8397 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001004/1.196, allocations: 310.9 kB / 0.8399 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004749/1.2, allocations: 2.027 MB / 0.8419 GB, free: 10 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005123/1.206, allocations: 2.344 MB / 0.8442 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009918/1.216, allocations: 4.273 MB / 0.8484 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/1.216, allocations: 0 / 0.8484 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01237/1.228, allocations: 4.997 MB / 0.8533 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/1.228, allocations: 8 kB / 0.8533 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.228, allocations: 0 / 0.8533 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/1.229, allocations: 236.7 kB / 0.8535 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004198/1.233, allocations: 0.8188 MB / 0.8543 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004213/1.237, allocations: 3.37 MB / 0.8576 GB, free: 9.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004212/1.241, allocations: 0.5596 MB / 0.8581 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006539/1.242, allocations: 119.9 kB / 0.8583 GB, free: 9.027 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.002462/1.245, allocations: 0.9428 MB / 0.8592 GB, free: 8.102 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/1.246, allocations: 276.6 kB / 0.8594 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01443/1.26, allocations: 5.626 MB / 0.8649 GB, free: 2.152 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/1.26, allocations: 28 kB / 0.865 GB, free: 2.125 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.26, allocations: 8 kB / 0.865 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.025e-05/1.26, allocations: 15.94 kB / 0.865 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006217/1.266, allocations: 3.694 MB / 0.8686 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-05/1.266, allocations: 0 / 0.8686 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003909/1.27, allocations: 0.7424 MB / 0.8693 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008792/1.271, allocations: 271.4 kB / 0.8696 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004773/1.272, allocations: 79.92 kB / 0.8696 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004965/1.277, allocations: 5.231 MB / 0.8748 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.277, allocations: 64 / 0.8748 GB, free: 7.852 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01868/1.295, allocations: 8.03 MB / 0.8826 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001874/1.297, allocations: 0.8288 MB / 0.8834 GB, free: 14.89 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000814/1.298, allocations: 75.83 kB / 0.8835 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003434/1.302, allocations: 411.4 kB / 0.8839 GB, free: 14.42 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005122/1.302, allocations: 202 kB / 0.8841 GB, free: 14.22 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003109/1.302, allocations: 111.9 kB / 0.8842 GB, free: 14.11 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002832/1.305, allocations: 1.773 MB / 0.8859 GB, free: 12.32 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.3e-07/1.305, allocations: 4 kB / 0.8859 GB, free: 12.32 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003267/1.309, allocations: 1.071 MB / 0.887 GB, free: 11.25 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.00266/1.311, allocations: 1.054 MB / 0.888 GB, free: 10.63 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02109/1.332, allocations: 8.53 MB / 0.8963 GB, free: 2.117 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.332, allocations: 4.188 kB / 0.8963 GB, free: 2.113 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006714/1.339, allocations: 2.774 MB / 0.899 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004451/1.344, allocations: 0.703 MB / 0.8997 GB, free: 14.7 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.01632/1.36, allocations: 7.966 MB / 0.9075 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002488/1.363, allocations: 2.381 MB / 0.9098 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002455/1.365, allocations: 323.2 kB / 0.9101 GB, free: 3.969 MB / 0.6856 GB Notification: Performance of SimCode: time 5.51e-07/1.365, allocations: 4 kB / 0.9101 GB, free: 3.965 MB / 0.6856 GB Notification: Performance of Templates: time 0.11/1.475, allocations: 84.75 MB / 0.9929 GB, free: 15.38 MB / 0.7794 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)