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.001213/0.001213, allocations: 107.4 kB / 16.64 MB, free: 6.359 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.001245, allocations: 197.4 kB / 17.57 MB, free: 5.777 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.36/1.36, 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.7547/0.7547, allocations: 122.9 MB / 414.2 MB, free: 72 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 63.91 kB / 0.4912 GB, free: 7.848 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.391, allocations: 77.92 MB / 0.5673 GB, free: 32.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1792/0.5702, allocations: 159.7 MB / 0.7233 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03519/0.6055, allocations: 26.61 MB / 0.7493 GB, free: 84 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004082/0.6096, allocations: 63.62 kB / 0.7493 GB, free: 20 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.358/0.9676, allocations: 0.9165 MB / 0.7502 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005708/0.9734, allocations: 1.625 MB / 0.7518 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004515/0.9779, allocations: 1.553 MB / 0.7533 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009017/0.9869, allocations: 5.299 MB / 0.7585 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008267/0.9952, allocations: 4.171 MB / 0.7626 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005541/1.001, allocations: 2.101 MB / 0.7646 GB, free: 17.49 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005001/1.006, allocations: 2.56 MB / 0.7671 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001985/1.008, allocations: 458.9 kB / 0.7676 GB, free: 17.48 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004236/1.012, allocations: 1.043 MB / 0.7686 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002021/1.014, allocations: 1.19 MB / 0.7698 GB, free: 17.36 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.004375/1.018, allocations: 2.131 MB / 0.7718 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005476/1.024, allocations: 4.64 MB / 0.7764 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.024, allocations: 0 / 0.7764 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/1.024, allocations: 0.9375 kB / 0.7764 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002406/1.024, allocations: 0 / 0.7764 GB, free: 16.44 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.01288/1.037, allocations: 4.616 MB / 0.7809 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/1.037, allocations: 16.44 kB / 0.7809 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01403/1.051, allocations: 2.769 MB / 0.7836 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005349/1.057, allocations: 2.297 MB / 0.7858 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000263/1.057, allocations: 238.5 kB / 0.7861 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/1.058, allocations: 308.6 kB / 0.7864 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01387/1.072, allocations: 5.165 MB / 0.7914 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/1.072, allocations: 6.812 kB / 0.7914 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009144/1.073, allocations: 134.6 kB / 0.7915 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.099e-05/1.073, allocations: 78.22 kB / 0.7916 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01691/1.09, allocations: 6.287 MB / 0.7978 GB, free: 12.53 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.0355/1.126, allocations: 14.9 MB / 0.8123 GB, free: 5.266 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01078/1.136, allocations: 4.708 MB / 0.8169 GB, free: 2.746 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005566/1.142, allocations: 2.432 MB / 0.8193 GB, free: 0.5273 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/1.143, allocations: 0.6762 MB / 0.8199 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00648/1.15, allocations: 2.615 MB / 0.8225 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=278): time 6.121e-06/1.15, allocations: 0 / 0.8225 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=278): time 0.01941/1.169, allocations: 7.407 MB / 0.8297 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/1.169, allocations: 210.1 kB / 0.8299 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004257/1.174, allocations: 2.426 MB / 0.8323 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0006857/1.174, allocations: 81.7 kB / 0.8324 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001375/1.176, allocations: 1.33 MB / 0.8337 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001347/1.177, allocations: 0.9081 MB / 0.8346 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001718/1.179, allocations: 0.5008 MB / 0.835 GB, free: 32 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001135/1.179, allocations: 314.1 kB / 0.8353 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004906/1.184, allocations: 2.027 MB / 0.8373 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005301/1.189, allocations: 2.342 MB / 0.8396 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00999/1.199, allocations: 4.284 MB / 0.8438 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.615e-05/1.199, allocations: 112 / 0.8438 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=322) (initialization): time 0.01299/1.212, allocations: 5.002 MB / 0.8487 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/1.212, allocations: 8 kB / 0.8487 GB, free: 1.902 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/1.212, allocations: 4 kB / 0.8487 GB, free: 1.898 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006588/1.213, allocations: 233.5 kB / 0.8489 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0042/1.217, allocations: 0.8158 MB / 0.8497 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00426/1.221, allocations: 3.378 MB / 0.853 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004437/1.226, allocations: 0.5808 MB / 0.8536 GB, free: 12.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007416/1.227, allocations: 115.9 kB / 0.8537 GB, free: 12.69 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.002875/1.23, allocations: 0.9478 MB / 0.8546 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001264/1.231, allocations: 276.5 kB / 0.8549 GB, free: 11.48 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/1.245, allocations: 5.621 MB / 0.8604 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.004e-05/1.246, allocations: 31.94 kB / 0.8604 GB, free: 5.781 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/1.246, allocations: 4 kB / 0.8604 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.391e-05/1.246, allocations: 15.94 kB / 0.8604 GB, free: 5.762 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006581/1.252, allocations: 3.692 MB / 0.864 GB, free: 2.078 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.283e-05/1.252, allocations: 4 kB / 0.864 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004067/1.256, allocations: 0.7437 MB / 0.8647 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009101/1.257, allocations: 258.4 kB / 0.865 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005992/1.258, allocations: 83.91 kB / 0.8651 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005042/1.263, allocations: 5.245 MB / 0.8702 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.263, allocations: 2.906 kB / 0.8702 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01956/1.283, allocations: 8.022 MB / 0.878 GB, free: 3.391 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002305/1.285, allocations: 0.8249 MB / 0.8788 GB, free: 2.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/1.286, allocations: 71.83 kB / 0.8789 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003853/1.29, allocations: 447.2 kB / 0.8793 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006145/1.29, allocations: 206 kB / 0.8795 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004173/1.291, allocations: 103.9 kB / 0.8796 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003131/1.294, allocations: 1.773 MB / 0.8814 GB, free: 15.95 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.51e-07/1.294, allocations: 0 / 0.8814 GB, free: 15.95 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003768/1.298, allocations: 1.06 MB / 0.8824 GB, free: 14.88 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.002891/1.301, allocations: 1.062 MB / 0.8834 GB, free: 14.29 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02123/1.322, allocations: 8.539 MB / 0.8918 GB, free: 5.77 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.322, allocations: 0 / 0.8918 GB, free: 5.77 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006738/1.329, allocations: 2.764 MB / 0.8945 GB, free: 3.027 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004822/1.334, allocations: 0.697 MB / 0.8951 GB, free: 2.367 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.01884/1.353, allocations: 9.403 MB / 0.9043 GB, free: 8.93 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002849/1.355, allocations: 2.381 MB / 0.9067 GB, free: 6.516 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002865/1.358, allocations: 319.2 kB / 0.907 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of SimCode: time 9.22e-07/1.358, allocations: 3.938 kB / 0.907 GB, free: 6.199 MB / 0.6856 GB Notification: Performance of Templates: time 0.1211/1.479, allocations: 84.63 MB / 0.9896 GB, free: 1.781 MB / 0.7637 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)