Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_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.00113/0.00113, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0014/0.0014, allocations: 192.1 kB / 16.25 MB, free: 6.629 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.349/1.349, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7763/0.7763, allocations: 132.2 MB / 422.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 68.38 kB / 0.5013 GB, free: 9.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1567, allocations: 80.2 MB / 0.5796 GB, free: 9.172 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.5101/0.6669, allocations: 160.8 MB / 0.7367 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.04125/0.7082, allocations: 27.09 MB / 0.7631 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006114/0.7143, allocations: 83.56 kB / 0.7632 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003655/0.7181, allocations: 0.9915 MB / 0.7642 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007605/0.7257, allocations: 1.735 MB / 0.7658 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006167/0.7319, allocations: 1.774 MB / 0.7676 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009386/0.7413, allocations: 5.859 MB / 0.7733 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007027/0.7484, allocations: 4.892 MB / 0.7781 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005341/0.7538, allocations: 2.32 MB / 0.7803 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004967/0.7588, allocations: 2.876 MB / 0.7832 GB, free: 2.656 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001324/0.7601, allocations: 0.5195 MB / 0.7837 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003084/0.7632, allocations: 1.112 MB / 0.7847 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001433/0.7646, allocations: 1.367 MB / 0.7861 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.003777/0.7684, allocations: 2.395 MB / 0.7884 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007928/0.7764, allocations: 6.641 MB / 0.7949 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.7764, allocations: 0 / 0.7949 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7764, allocations: 0 / 0.7949 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001534/0.7766, allocations: 4 kB / 0.7949 GB, free: 6.582 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.01023/0.7868, allocations: 5.1 MB / 0.7999 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.7869, allocations: 8.031 kB / 0.7999 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/0.8005, allocations: 2.838 MB / 0.8027 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00564/0.8061, allocations: 2.518 MB / 0.8051 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.8064, allocations: 283.5 kB / 0.8054 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006371/0.807, allocations: 364 kB / 0.8057 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/0.8191, allocations: 5.732 MB / 0.8113 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.087e-05/0.8192, allocations: 0 / 0.8113 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003687/0.8196, allocations: 156 kB / 0.8115 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.71e-05/0.8196, allocations: 91.94 kB / 0.8116 GB, free: 5.297 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01581/0.8355, allocations: 6.858 MB / 0.8183 GB, free: 14.43 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.03359/0.8691, allocations: 17.37 MB / 0.8352 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009055/0.8782, allocations: 4.481 MB / 0.8396 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005681/0.8839, allocations: 2.947 MB / 0.8425 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009976/0.8849, allocations: 0.6777 MB / 0.8432 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005715/0.8907, allocations: 2.733 MB / 0.8458 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=315): time 4.899e-06/0.8907, allocations: 0 / 0.8458 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of matching and sorting (n=315): time 0.02409/0.9148, allocations: 9.682 MB / 0.8553 GB, free: 7.461 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/0.915, allocations: 222.4 kB / 0.8555 GB, free: 7.199 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003859/0.9189, allocations: 2.654 MB / 0.8581 GB, free: 4.531 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000489/0.9194, allocations: 77.7 kB / 0.8582 GB, free: 4.449 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001632/0.921, allocations: 1.546 MB / 0.8597 GB, free: 2.887 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.00115/0.9222, allocations: 1.043 MB / 0.8607 GB, free: 1.828 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/0.9232, allocations: 0.5486 MB / 0.8612 GB, free: 1.273 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.9233, allocations: 301.1 kB / 0.8615 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3164/1.24, allocations: 2.179 MB / 0.8636 GB, free: 218.2 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005125/1.245, allocations: 2.527 MB / 0.8661 GB, free: 217.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009262/1.254, allocations: 4.703 MB / 0.8707 GB, free: 216.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/1.254, allocations: 6.812 kB / 0.8707 GB, free: 216.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01124/1.266, allocations: 5.801 MB / 0.8764 GB, free: 214.9 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/1.266, allocations: 5.562 kB / 0.8764 GB, free: 214.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/1.266, allocations: 2.812 kB / 0.8764 GB, free: 214.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/1.267, allocations: 0.8482 MB / 0.8772 GB, free: 214.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/1.271, allocations: 0.8135 MB / 0.878 GB, free: 214.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008812/1.28, allocations: 7.556 MB / 0.8854 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004362/1.284, allocations: 0.5937 MB / 0.886 GB, free: 210.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004057/1.284, allocations: 125.1 kB / 0.8861 GB, free: 210.5 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.002109/1.287, allocations: 1.024 MB / 0.8871 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006808/1.287, allocations: 302.9 kB / 0.8874 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/1.301, allocations: 6.384 MB / 0.8936 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-05/1.301, allocations: 38.91 kB / 0.8936 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.929e-05/1.301, allocations: 9.5 kB / 0.8936 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.629e-05/1.301, allocations: 16.89 kB / 0.8937 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02079/1.322, allocations: 10.71 MB / 0.9041 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/1.322, allocations: 3.938 kB / 0.9041 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004193/1.326, allocations: 0.7681 MB / 0.9049 GB, free: 203.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001916/1.328, allocations: 0.7466 MB / 0.9056 GB, free: 203.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000411/1.328, allocations: 85.38 kB / 0.9057 GB, free: 203.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/1.339, allocations: 10.66 MB / 0.9161 GB, free: 195.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.339, allocations: 0 / 0.9161 GB, free: 195.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02008/1.359, allocations: 9.076 MB / 0.925 GB, free: 192.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002276/1.361, allocations: 0.8905 MB / 0.9258 GB, free: 192 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000601/1.362, allocations: 65.95 kB / 0.9259 GB, free: 192 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003288/1.365, allocations: 436.6 kB / 0.9263 GB, free: 191.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005574/1.366, allocations: 212.5 kB / 0.9265 GB, free: 191.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002391/1.366, allocations: 106.2 kB / 0.9266 GB, free: 191.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002341/1.368, allocations: 1.919 MB / 0.9285 GB, free: 191.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/1.368, allocations: 5.375 kB / 0.9285 GB, free: 191.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003276/1.372, allocations: 1.228 MB / 0.9297 GB, free: 190.9 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.002304/1.374, allocations: 1.04 MB / 0.9307 GB, free: 190.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02007/1.394, allocations: 9.335 MB / 0.9398 GB, free: 186 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.394, allocations: 3.938 kB / 0.9398 GB, free: 186 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.005817/1.4, allocations: 3.321 MB / 0.9431 GB, free: 183.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003543/1.403, allocations: 0.769 MB / 0.9438 GB, free: 182.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/1.418, allocations: 10.68 MB / 0.9543 GB, free: 171.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001795/1.42, allocations: 2.694 MB / 0.9569 GB, free: 169.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004249/1.424, allocations: 1.152 MB / 0.958 GB, free: 168 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/1.425, allocations: 279.3 kB / 0.9583 GB, free: 167.7 MB / 0.67 GB Notification: Performance of SimCode: time 1.062e-06/1.425, allocations: 0 / 0.9583 GB, free: 167.7 MB / 0.67 GB Notification: Performance of Templates: time 0.07518/1.5, allocations: 54.4 MB / 1.011 GB, free: 113.8 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.makefile (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & ./IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)