Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.01083/0.01083, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.409/1.409, 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.771/0.771, allocations: 132.4 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003867/0.0003872, allocations: 8 kB / 0.504 GB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4772/0.4777, allocations: 81.58 MB / 0.5837 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.1956/0.6733, allocations: 157.1 MB / 0.7371 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03889/0.7122, allocations: 26.56 MB / 0.7631 GB, free: 8.059 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003864/0.7161, allocations: 67.62 kB / 0.7631 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00304/0.7192, allocations: 0.945 MB / 0.764 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006159/0.7254, allocations: 1.591 MB / 0.7656 GB, free: 5.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00507/0.7305, allocations: 1.581 MB / 0.7671 GB, free: 3.883 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008182/0.7387, allocations: 5.47 MB / 0.7725 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006639/0.7454, allocations: 3.678 MB / 0.7761 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/0.7486, allocations: 1.458 MB / 0.7775 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003507/0.7521, allocations: 2.022 MB / 0.7795 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0009221/0.7531, allocations: 120 kB / 0.7796 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.7556, allocations: 0.7178 MB / 0.7803 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.001273/0.7569, allocations: 0.7817 MB / 0.7811 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002893/0.7598, allocations: 1.694 MB / 0.7827 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007069/0.7669, allocations: 5.688 MB / 0.7883 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.7669, allocations: 4 kB / 0.7883 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.442e-06/0.7669, allocations: 0 / 0.7883 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002131/0.7672, allocations: 4 kB / 0.7883 GB, free: 14.12 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.009155/0.7763, allocations: 4.01 MB / 0.7922 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.7764, allocations: 12.03 kB / 0.7922 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/0.7903, allocations: 2.912 MB / 0.795 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005208/0.7956, allocations: 2.373 MB / 0.7974 GB, free: 4.652 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002772/0.7959, allocations: 254.9 kB / 0.7976 GB, free: 4.402 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/0.797, allocations: 339.9 kB / 0.7979 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01504/0.8121, allocations: 5.432 MB / 0.8032 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001284/0.8122, allocations: 7.938 kB / 0.8032 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008659/0.8131, allocations: 147.9 kB / 0.8034 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.281e-05/0.8132, allocations: 84 kB / 0.8035 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01639/0.8296, allocations: 6.613 MB / 0.8099 GB, free: 7.707 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.3605/1.19, allocations: 15.74 MB / 0.8253 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01014/1.2, allocations: 4.086 MB / 0.8293 GB, free: 206.6 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005874/1.206, allocations: 2.663 MB / 0.8319 GB, free: 205.8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009588/1.207, allocations: 0.6735 MB / 0.8325 GB, free: 205.1 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0064/1.214, allocations: 2.579 MB / 0.8351 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=288): time 7.003e-06/1.214, allocations: 1.25 kB / 0.8351 GB, free: 204.2 MB / 0.6387 GB Notification: Performance of matching and sorting (n=288): time 0.02265/1.236, allocations: 8.439 MB / 0.8433 GB, free: 199.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/1.236, allocations: 213.6 kB / 0.8435 GB, free: 199.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003913/1.24, allocations: 2.506 MB / 0.846 GB, free: 198.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0006552/1.241, allocations: 74.08 kB / 0.846 GB, free: 198.4 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001155/1.242, allocations: 1.438 MB / 0.8474 GB, free: 197.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.001077/1.243, allocations: 0.9563 MB / 0.8484 GB, free: 196.3 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005447/1.244, allocations: 208.7 kB / 0.8486 GB, free: 196.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.036e-05/1.244, allocations: 309 kB / 0.8489 GB, free: 195.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004601/1.248, allocations: 2.06 MB / 0.8509 GB, free: 194.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004946/1.253, allocations: 2.373 MB / 0.8532 GB, free: 193.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009871/1.263, allocations: 4.447 MB / 0.8575 GB, free: 190.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.551e-05/1.263, allocations: 0 / 0.8575 GB, free: 190.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=327) (initialization): time 0.01354/1.277, allocations: 5.338 MB / 0.8627 GB, free: 185.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/1.277, allocations: 11.94 kB / 0.8628 GB, free: 185.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/1.277, allocations: 4 kB / 0.8628 GB, free: 185.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/1.278, allocations: 0.5525 MB / 0.8633 GB, free: 184.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004057/1.282, allocations: 0.7956 MB / 0.8641 GB, free: 183.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006659/1.289, allocations: 5.295 MB / 0.8692 GB, free: 178.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004738/1.294, allocations: 0.5752 MB / 0.8698 GB, free: 177.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008006/1.295, allocations: 111.9 kB / 0.8699 GB, free: 177.6 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 (282): * Single equations (assignments): 281 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003205/1.298, allocations: 0.9656 MB / 0.8709 GB, free: 176.6 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001154/1.299, allocations: 288.4 kB / 0.8711 GB, free: 176.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01517/1.314, allocations: 5.901 MB / 0.8769 GB, free: 170.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.593e-05/1.314, allocations: 32 kB / 0.8769 GB, free: 170.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.079e-05/1.314, allocations: 8 kB / 0.8769 GB, free: 170.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.301e-05/1.314, allocations: 15.94 kB / 0.877 GB, free: 170.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02185/1.336, allocations: 9.898 MB / 0.8866 GB, free: 160.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/1.336, allocations: 11.98 kB / 0.8866 GB, free: 160.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003856/1.34, allocations: 0.7527 MB / 0.8874 GB, free: 159.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001379/1.341, allocations: 0.5222 MB / 0.8879 GB, free: 159.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006092/1.342, allocations: 79.92 kB / 0.8879 GB, free: 159 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006727/1.349, allocations: 6.97 MB / 0.8948 GB, free: 151.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/1.349, allocations: 0 / 0.8948 GB, free: 151.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01769/1.367, allocations: 8.417 MB / 0.903 GB, free: 143.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002248/1.369, allocations: 0.8831 MB / 0.9038 GB, free: 142.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008573/1.37, allocations: 52 kB / 0.9039 GB, free: 142.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003556/1.373, allocations: 443.2 kB / 0.9043 GB, free: 141.9 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005721/1.374, allocations: 186 kB / 0.9045 GB, free: 141.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003727/1.374, allocations: 99.94 kB / 0.9046 GB, free: 141.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002572/1.377, allocations: 1.83 MB / 0.9064 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.5e-07/1.377, allocations: 0 / 0.9064 GB, free: 139.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00337/1.38, allocations: 1.106 MB / 0.9075 GB, free: 138.7 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * 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 {(4,36,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.002515/1.383, allocations: 1.031 MB / 0.9085 GB, free: 138.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01136/1.394, allocations: 5.108 MB / 0.9134 GB, free: 133 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.394, allocations: 0 / 0.9134 GB, free: 133 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.006561/1.401, allocations: 2.959 MB / 0.9163 GB, free: 130 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005365/1.406, allocations: 0.6721 MB / 0.917 GB, free: 129.3 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01773/1.424, allocations: 10.02 MB / 0.9268 GB, free: 119.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002838/1.427, allocations: 2.556 MB / 0.9293 GB, free: 116.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00539/1.432, allocations: 1.11 MB / 0.9304 GB, free: 115.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001769/1.434, allocations: 275.2 kB / 0.9306 GB, free: 115.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.012e-06/1.434, allocations: 0 / 0.9306 GB, free: 115.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.07208/1.506, allocations: 47.15 MB / 0.9767 GB, free: 68.55 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)