Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007506/0.0007508, allocations: 97.64 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.004962/0.004962, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.371/1.371, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9594/0.9594, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004046, allocations: 8 kB / 0.5076 GB, free: 4.797 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1883, allocations: 82.32 MB / 0.588 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.574/0.7623, allocations: 158.4 MB / 0.7427 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04419/0.8066, allocations: 26.95 MB / 0.769 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006227/0.8129, allocations: 75.62 kB / 0.7691 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003749/0.8167, allocations: 0.9993 MB / 0.77 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008248/0.825, allocations: 1.706 MB / 0.7717 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006337/0.8313, allocations: 1.756 MB / 0.7734 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01006/0.8414, allocations: 6.153 MB / 0.7794 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006653/0.8481, allocations: 3.972 MB / 0.7833 GB, free: 3.691 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004059/0.8522, allocations: 1.587 MB / 0.7849 GB, free: 2.098 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004419/0.8567, allocations: 2.234 MB / 0.787 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0008218/0.8575, allocations: 136 kB / 0.7872 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.8602, allocations: 0.7413 MB / 0.7879 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009293/0.8611, allocations: 0.8829 MB / 0.7888 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002707/0.8638, allocations: 1.854 MB / 0.7906 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008713/0.8726, allocations: 6.194 MB / 0.7966 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.8726, allocations: 0 / 0.7966 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.307e-06/0.8727, allocations: 0 / 0.7966 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0002909/0.873, allocations: 0 / 0.7966 GB, free: 6.008 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01203/0.885, allocations: 4.321 MB / 0.8008 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.8851, allocations: 8.031 kB / 0.8008 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01441/0.8995, allocations: 2.947 MB / 0.8037 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007883/0.9074, allocations: 2.52 MB / 0.8062 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002742/0.9078, allocations: 287.5 kB / 0.8065 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/0.9091, allocations: 364 kB / 0.8068 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01489/0.924, allocations: 5.775 MB / 0.8124 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.134e-05/0.9241, allocations: 4 kB / 0.8124 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004438/0.9246, allocations: 155.9 kB / 0.8126 GB, free: 5.426 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.502e-05/0.9247, allocations: 95.94 kB / 0.8127 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01792/0.9426, allocations: 6.948 MB / 0.8195 GB, free: 14.38 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.0418/0.9845, allocations: 17.4 MB / 0.8365 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01149/0.996, allocations: 4.504 MB / 0.8409 GB, free: 7.707 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006937/1.003, allocations: 2.947 MB / 0.8437 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001232/1.004, allocations: 0.6816 MB / 0.8444 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007286/1.012, allocations: 2.725 MB / 0.8471 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=315): time 6.272e-06/1.012, allocations: 3.938 kB / 0.8471 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of matching and sorting (n=315): time 0.03023/1.042, allocations: 9.76 MB / 0.8566 GB, free: 7.277 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/1.042, allocations: 214.4 kB / 0.8568 GB, free: 7.023 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005456/1.048, allocations: 2.658 MB / 0.8594 GB, free: 4.352 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0009796/1.049, allocations: 81.7 kB / 0.8595 GB, free: 4.266 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001823/1.05, allocations: 1.53 MB / 0.861 GB, free: 2.719 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001964/1.052, allocations: 1.055 MB / 0.862 GB, free: 1.648 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/1.053, allocations: 223.4 kB / 0.8622 GB, free: 1.426 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.054, allocations: 305.1 kB / 0.8625 GB, free: 1.125 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4278/1.481, allocations: 2.183 MB / 0.8646 GB, free: 211.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006393/1.488, allocations: 2.532 MB / 0.8671 GB, free: 210.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/1.499, allocations: 4.721 MB / 0.8717 GB, free: 210.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/1.499, allocations: 0 / 0.8717 GB, free: 210.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01259/1.511, allocations: 5.818 MB / 0.8774 GB, free: 209.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/1.511, allocations: 9.031 kB / 0.8774 GB, free: 209.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.511, allocations: 5.938 kB / 0.8774 GB, free: 209.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/1.513, allocations: 0.8424 MB / 0.8782 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003854/1.517, allocations: 0.8074 MB / 0.879 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008964/1.526, allocations: 6.999 MB / 0.8859 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004699/1.531, allocations: 0.6032 MB / 0.8865 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007062/1.531, allocations: 127.3 kB / 0.8866 GB, free: 205 MB / 0.67 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 (291): * Single equations (assignments): 290 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003078/1.534, allocations: 1.026 MB / 0.8876 GB, free: 204.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001136/1.536, allocations: 305.2 kB / 0.8879 GB, free: 204.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01702/1.553, allocations: 6.392 MB / 0.8941 GB, free: 202.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.214e-05/1.553, allocations: 32.08 kB / 0.8941 GB, free: 202.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-05/1.553, allocations: 13.59 kB / 0.8942 GB, free: 202.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.558e-05/1.553, allocations: 17.28 kB / 0.8942 GB, free: 202.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03136/1.584, allocations: 10.72 MB / 0.9046 GB, free: 198.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/1.584, allocations: 0 / 0.9046 GB, free: 198.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004945/1.589, allocations: 0.7751 MB / 0.9054 GB, free: 198.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002323/1.592, allocations: 0.7422 MB / 0.9061 GB, free: 198.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008536/1.592, allocations: 88.12 kB / 0.9062 GB, free: 198 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/1.604, allocations: 9.803 MB / 0.9158 GB, free: 190.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.604, allocations: 0 / 0.9158 GB, free: 190.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02421/1.629, allocations: 9.093 MB / 0.9247 GB, free: 187.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00304/1.632, allocations: 0.9392 MB / 0.9256 GB, free: 187.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00141/1.633, allocations: 60.45 kB / 0.9256 GB, free: 187.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004312/1.638, allocations: 444.6 kB / 0.9261 GB, free: 187.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001057/1.639, allocations: 209 kB / 0.9263 GB, free: 187.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006754/1.639, allocations: 109.7 kB / 0.9264 GB, free: 187 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004257/1.644, allocations: 1.929 MB / 0.9282 GB, free: 186.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 4e-07/1.644, allocations: 0 / 0.9282 GB, free: 186.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005968/1.65, allocations: 1.231 MB / 0.9294 GB, free: 186.1 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.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 (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.003186/1.653, allocations: 1.042 MB / 0.9305 GB, free: 185.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01281/1.666, allocations: 5.518 MB / 0.9359 GB, free: 184 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.666, allocations: 0 / 0.9359 GB, free: 184 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.007028/1.673, allocations: 3.334 MB / 0.9391 GB, free: 182.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005082/1.678, allocations: 0.7239 MB / 0.9398 GB, free: 182.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/1.695, allocations: 10.8 MB / 0.9504 GB, free: 171.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002761/1.697, allocations: 2.691 MB / 0.953 GB, free: 169 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005487/1.703, allocations: 1.165 MB / 0.9541 GB, free: 167.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001835/1.705, allocations: 283.2 kB / 0.9544 GB, free: 167.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.183e-06/1.705, allocations: 0 / 0.9544 GB, free: 167.5 MB / 0.67 GB Notification: Performance of Templates: time 0.07897/1.784, allocations: 51.66 MB / 1.005 GB, free: 116.3 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)