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.00164/0.00164, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001477/0.001478, allocations: 195.5 kB / 16.25 MB, free: 6.621 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.347/1.347, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9184/0.9184, allocations: 135.6 MB / 425.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 72.72 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1697, allocations: 81.02 MB / 0.5845 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.4418/0.6115, allocations: 160.8 MB / 0.7415 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03864/0.6502, allocations: 27.08 MB / 0.768 GB, free: 404 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003307/0.6536, allocations: 83.56 kB / 0.7681 GB, free: 320 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002222/0.6559, allocations: 0.9993 MB / 0.769 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004592/0.6605, allocations: 1.722 MB / 0.7707 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004229/0.6647, allocations: 1.789 MB / 0.7725 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006444/0.6712, allocations: 5.861 MB / 0.7782 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005824/0.677, allocations: 4.902 MB / 0.783 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.6808, allocations: 2.33 MB / 0.7852 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003597/0.6845, allocations: 2.861 MB / 0.788 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0007213/0.6852, allocations: 0.5195 MB / 0.7886 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.6875, allocations: 1.12 MB / 0.7896 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001198/0.6887, allocations: 1.363 MB / 0.791 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002532/0.6912, allocations: 2.387 MB / 0.7933 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007371/0.6986, allocations: 6.652 MB / 0.7998 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6986, allocations: 0 / 0.7998 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6986, allocations: 0 / 0.7998 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001132/0.6987, allocations: 0 / 0.7998 GB, free: 15.7 MB / 0.6231 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.009759/0.7085, allocations: 5.104 MB / 0.8048 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.7085, allocations: 8.031 kB / 0.8048 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/0.7215, allocations: 2.834 MB / 0.8076 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004544/0.726, allocations: 2.516 MB / 0.81 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002213/0.7263, allocations: 279.5 kB / 0.8103 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005769/0.7268, allocations: 364 kB / 0.8106 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/0.7384, allocations: 5.732 MB / 0.8162 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.297e-05/0.7385, allocations: 4 kB / 0.8162 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00039/0.7389, allocations: 152 kB / 0.8164 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.258e-05/0.739, allocations: 95.94 kB / 0.8165 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01558/0.7546, allocations: 6.862 MB / 0.8232 GB, free: 7.543 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.03255/0.7872, allocations: 17.36 MB / 0.8401 GB, free: 5.426 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01077/0.798, allocations: 4.481 MB / 0.8445 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006308/0.8043, allocations: 2.947 MB / 0.8474 GB, free: 13.98 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.8054, allocations: 0.6738 MB / 0.848 GB, free: 13.18 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0065/0.812, allocations: 2.737 MB / 0.8507 GB, free: 10.4 MB / 0.67 GB Notification: Performance of pre-optimization done (n=315): time 5.33e-06/0.812, allocations: 0 / 0.8507 GB, free: 10.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=315): time 0.02596/0.838, allocations: 9.692 MB / 0.8602 GB, free: 0.5781 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.8381, allocations: 214.4 kB / 0.8604 GB, free: 332 kB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3298/1.168, allocations: 2.65 MB / 0.863 GB, free: 215.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0009891/1.169, allocations: 81.39 kB / 0.863 GB, free: 215.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00139/1.17, allocations: 1.538 MB / 0.8645 GB, free: 214.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001469/1.172, allocations: 1.058 MB / 0.8656 GB, free: 214 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000955/1.173, allocations: 0.5396 MB / 0.8661 GB, free: 213.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.278e-05/1.173, allocations: 308.4 kB / 0.8664 GB, free: 213.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004151/1.177, allocations: 2.177 MB / 0.8685 GB, free: 212.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004388/1.181, allocations: 2.529 MB / 0.871 GB, free: 211.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008456/1.19, allocations: 4.704 MB / 0.8756 GB, free: 210.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/1.19, allocations: 0 / 0.8756 GB, free: 210.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01079/1.201, allocations: 5.814 MB / 0.8813 GB, free: 208.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/1.201, allocations: 5.688 kB / 0.8813 GB, free: 208.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.201, allocations: 2.875 kB / 0.8813 GB, free: 208.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001579/1.202, allocations: 0.8466 MB / 0.8821 GB, free: 208.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003514/1.206, allocations: 0.81 MB / 0.8829 GB, free: 208.2 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008722/1.215, allocations: 7.549 MB / 0.8903 GB, free: 203.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004206/1.219, allocations: 0.5926 MB / 0.8908 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003553/1.219, allocations: 122.3 kB / 0.891 GB, free: 203.7 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.002187/1.221, allocations: 1.028 MB / 0.892 GB, free: 203.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007712/1.222, allocations: 306.7 kB / 0.8923 GB, free: 203.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/1.236, allocations: 6.389 MB / 0.8985 GB, free: 200.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.05e-05/1.236, allocations: 31.66 kB / 0.8985 GB, free: 200.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/1.236, allocations: 9.062 kB / 0.8985 GB, free: 200.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.04e-05/1.236, allocations: 13.31 kB / 0.8985 GB, free: 200.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02304/1.259, allocations: 10.72 MB / 0.909 GB, free: 197 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/1.259, allocations: 4 kB / 0.909 GB, free: 197 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003888/1.263, allocations: 0.7671 MB / 0.9098 GB, free: 197 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002097/1.265, allocations: 0.7437 MB / 0.9105 GB, free: 196.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004175/1.266, allocations: 86.22 kB / 0.9106 GB, free: 196.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01214/1.278, allocations: 10.66 MB / 0.921 GB, free: 189 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.278, allocations: 0 / 0.921 GB, free: 189 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02414/1.302, allocations: 9.075 MB / 0.9298 GB, free: 185.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002388/1.304, allocations: 0.8951 MB / 0.9307 GB, free: 185.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001131/1.306, allocations: 67.44 kB / 0.9308 GB, free: 185.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00366/1.309, allocations: 435.3 kB / 0.9312 GB, free: 185.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000698/1.31, allocations: 213.2 kB / 0.9314 GB, free: 185.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004178/1.31, allocations: 107.6 kB / 0.9315 GB, free: 185.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003003/1.313, allocations: 1.928 MB / 0.9334 GB, free: 184.4 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.61e-07/1.313, allocations: 0 / 0.9334 GB, free: 184.4 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003794/1.317, allocations: 1.229 MB / 0.9346 GB, free: 184.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.003585/1.321, allocations: 1.042 MB / 0.9356 GB, free: 183.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01976/1.341, allocations: 9.327 MB / 0.9447 GB, free: 176.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/1.341, allocations: 0.6875 kB / 0.9447 GB, free: 176.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005923/1.347, allocations: 3.328 MB / 0.948 GB, free: 173.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004006/1.351, allocations: 0.7612 MB / 0.9487 GB, free: 172.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/1.366, allocations: 10.67 MB / 0.9591 GB, free: 161.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002644/1.369, allocations: 2.69 MB / 0.9618 GB, free: 159.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004844/1.374, allocations: 1.167 MB / 0.9629 GB, free: 158 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/1.375, allocations: 279.2 kB / 0.9632 GB, free: 157.7 MB / 0.67 GB Notification: Performance of SimCode: time 9.12e-07/1.375, allocations: 0 / 0.9632 GB, free: 157.7 MB / 0.67 GB Notification: Performance of Templates: time 0.07208/1.447, allocations: 54.39 MB / 1.016 GB, free: 103.8 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)