Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001003/0.001004, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007381/0.007381, allocations: 171.3 kB / 16.27 MB, free: 6.656 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.405/1.405, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8115/0.8115, allocations: 132.4 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003484, allocations: 8 kB / 0.504 GB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.4991, allocations: 81.58 MB / 0.5837 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.1866/0.6858, allocations: 155.6 MB / 0.7356 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03418/0.72, allocations: 26.14 MB / 0.7611 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003073/0.7232, allocations: 63.62 kB / 0.7612 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.7252, allocations: 0.8713 MB / 0.762 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004969/0.7301, allocations: 1.457 MB / 0.7635 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004062/0.7342, allocations: 1.453 MB / 0.7649 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006203/0.7404, allocations: 4.776 MB / 0.7695 GB, free: 1.492 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00472/0.7452, allocations: 3.367 MB / 0.7728 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002087/0.7473, allocations: 1.299 MB / 0.7741 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002325/0.7496, allocations: 1.804 MB / 0.7759 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002531/0.7499, allocations: 100 kB / 0.776 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001886/0.7518, allocations: 0.6906 MB / 0.7766 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007747/0.7526, allocations: 0.7039 MB / 0.7773 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001817/0.7544, allocations: 1.48 MB / 0.7788 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005873/0.7603, allocations: 5.026 MB / 0.7837 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7603, allocations: 4 kB / 0.7837 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7603, allocations: 0 / 0.7837 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001187/0.7604, allocations: 4 kB / 0.7837 GB, free: 2.898 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.008073/0.7685, allocations: 3.654 MB / 0.7872 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.258e-05/0.7686, allocations: 12.02 kB / 0.7873 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01444/0.783, allocations: 2.866 MB / 0.7901 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005283/0.7884, allocations: 2.191 MB / 0.7922 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/0.7886, allocations: 234.2 kB / 0.7924 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/0.7898, allocations: 300 kB / 0.7927 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01379/0.8036, allocations: 5.006 MB / 0.7976 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.522e-05/0.8037, allocations: 0 / 0.7976 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007163/0.8045, allocations: 131.9 kB / 0.7977 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.31e-05/0.8045, allocations: 79.94 kB / 0.7978 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01577/0.8203, allocations: 6.197 MB / 0.8038 GB, free: 14.01 MB / 0.6387 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.362/1.182, allocations: 13.68 MB / 0.8172 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0132/1.196, allocations: 4.349 MB / 0.8215 GB, free: 211.5 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006116/1.202, allocations: 2.32 MB / 0.8237 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/1.203, allocations: 0.6723 MB / 0.8244 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006461/1.209, allocations: 2.38 MB / 0.8267 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=257): time 5.901e-06/1.209, allocations: 0 / 0.8267 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=257): time 0.01819/1.228, allocations: 6.977 MB / 0.8335 GB, free: 207.4 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/1.228, allocations: 206.7 kB / 0.8337 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004372/1.232, allocations: 2.303 MB / 0.836 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0004556/1.233, allocations: 72.77 kB / 0.836 GB, free: 206.1 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001168/1.234, allocations: 1.298 MB / 0.8373 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009896/1.235, allocations: 0.8523 MB / 0.8381 GB, free: 204.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000522/1.235, allocations: 187 kB / 0.8383 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.304e-05/1.235, allocations: 301.8 kB / 0.8386 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004786/1.24, allocations: 1.9 MB / 0.8404 GB, free: 203 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004772/1.245, allocations: 2.198 MB / 0.8426 GB, free: 201.8 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008553/1.253, allocations: 4.073 MB / 0.8466 GB, free: 199.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.06e-05/1.253, allocations: 0 / 0.8466 GB, free: 199.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01011/1.264, allocations: 4.712 MB / 0.8512 GB, free: 197.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/1.264, allocations: 11.38 kB / 0.8512 GB, free: 197.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/1.264, allocations: 3.781 kB / 0.8512 GB, free: 197.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/1.264, allocations: 228.3 kB / 0.8514 GB, free: 197.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003519/1.268, allocations: 0.7769 MB / 0.8522 GB, free: 196.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003413/1.271, allocations: 3.1 MB / 0.8552 GB, free: 193.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003556/1.275, allocations: 0.5417 MB / 0.8557 GB, free: 193.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000369/1.275, allocations: 107.9 kB / 0.8558 GB, free: 193.1 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: 13 ($PRE.intGai.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,intGai.nextTimeEventScaled,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (272): * Single equations (assignments): 271 * 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.00232/1.278, allocations: 0.8946 MB / 0.8567 GB, free: 192.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007988/1.278, allocations: 256.8 kB / 0.8569 GB, free: 191.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01182/1.29, allocations: 5.277 MB / 0.8621 GB, free: 186.6 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/1.29, allocations: 28 kB / 0.8621 GB, free: 186.6 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/1.29, allocations: 4.562 kB / 0.8621 GB, free: 186.6 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.797e-05/1.29, allocations: 19.02 kB / 0.8621 GB, free: 186.5 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/1.307, allocations: 8.839 MB / 0.8708 GB, free: 177.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/1.307, allocations: 4.75 kB / 0.8708 GB, free: 177.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0034/1.31, allocations: 0.7215 MB / 0.8715 GB, free: 176.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007958/1.311, allocations: 262.4 kB / 0.8717 GB, free: 176.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002658/1.311, allocations: 75.92 kB / 0.8718 GB, free: 176.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003845/1.315, allocations: 4.807 MB / 0.8765 GB, free: 171.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.315, allocations: 32 / 0.8765 GB, free: 171.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01516/1.33, allocations: 7.537 MB / 0.8839 GB, free: 163.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001769/1.332, allocations: 0.8249 MB / 0.8847 GB, free: 163 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006806/1.333, allocations: 51.47 kB / 0.8847 GB, free: 163 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003443/1.336, allocations: 411.4 kB / 0.8851 GB, free: 162.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005054/1.337, allocations: 169.8 kB / 0.8853 GB, free: 162.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002825/1.337, allocations: 95.94 kB / 0.8854 GB, free: 162.3 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003075/1.34, allocations: 1.68 MB / 0.887 GB, free: 160.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3e-07/1.34, allocations: 0 / 0.887 GB, free: 160.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003522/1.344, allocations: 0.9699 MB / 0.888 GB, free: 159.7 MB / 0.6387 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: 7 ($whenCondition3,$whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext,intGai.nextTimeEvent,intGai.nextTimeEventScaled) * Number of discrete states: 4 (intGai.nextTimeEvent,intGai.nextTimeEventScaled,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (251): * Single equations (assignments): 244 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002607/1.346, allocations: 1.016 MB / 0.8889 GB, free: 159.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.009844/1.356, allocations: 4.593 MB / 0.8934 GB, free: 154.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/1.356, allocations: 0 / 0.8934 GB, free: 154.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.005083/1.361, allocations: 2.612 MB / 0.896 GB, free: 151.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003618/1.365, allocations: 0.602 MB / 0.8966 GB, free: 151.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/1.379, allocations: 9.039 MB / 0.9054 GB, free: 142.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002196/1.381, allocations: 2.367 MB / 0.9077 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004723/1.386, allocations: 1.092 MB / 0.9088 GB, free: 138.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001443/1.387, allocations: 259.2 kB / 0.909 GB, free: 138.4 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/1.387, allocations: 4 kB / 0.909 GB, free: 138.4 MB / 0.6387 GB Notification: Performance of Templates: time 0.06066/1.448, allocations: 41.19 MB / 0.9492 GB, free: 97.55 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1)