Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") translateModel(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=17520,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, 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.001228/0.001228, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.081/1.081, allocations: 135.1 MB / 425.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 63.73 kB / 0.5048 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.206, allocations: 80.93 MB / 0.5839 GB, free: 4.906 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.6136/0.8197, allocations: 158.5 MB / 0.7387 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0422/0.862, allocations: 26.42 MB / 0.7645 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004578/0.8666, allocations: 67.62 kB / 0.7646 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003108/0.8698, allocations: 0.914 MB / 0.7655 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006174/0.876, allocations: 1.524 MB / 0.767 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005848/0.8818, allocations: 1.521 MB / 0.7684 GB, free: 176 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0091/0.8909, allocations: 4.836 MB / 0.7732 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009115/0.9001, allocations: 4.273 MB / 0.7773 GB, free: 7.008 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005058/0.9052, allocations: 2.023 MB / 0.7793 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004625/0.9098, allocations: 2.479 MB / 0.7817 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001706/0.9116, allocations: 448 kB / 0.7822 GB, free: 2.059 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003287/0.9149, allocations: 1.03 MB / 0.7832 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001937/0.9168, allocations: 1.176 MB / 0.7843 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.004257/0.9211, allocations: 2.037 MB / 0.7863 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00866/0.9298, allocations: 5.698 MB / 0.7919 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.9298, allocations: 0 / 0.7919 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9298, allocations: 0 / 0.7919 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001717/0.93, allocations: 0 / 0.7919 GB, free: 8.086 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01166/0.9417, allocations: 4.488 MB / 0.7963 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.9417, allocations: 12.03 kB / 0.7963 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/0.9556, allocations: 2.768 MB / 0.799 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005425/0.961, allocations: 2.262 MB / 0.8012 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.9613, allocations: 238.5 kB / 0.8014 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008659/0.9621, allocations: 319.9 kB / 0.8017 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01241/0.9746, allocations: 5.14 MB / 0.8067 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.921e-05/0.9747, allocations: 7.938 kB / 0.8067 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003788/0.9751, allocations: 132 kB / 0.8069 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.15e-05/0.9751, allocations: 79.94 kB / 0.8069 GB, free: 8.418 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01526/0.9904, allocations: 6.284 MB / 0.8131 GB, free: 2.121 MB / 0.6231 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.02828/1.019, allocations: 14.52 MB / 0.8273 GB, free: 3.078 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/1.029, allocations: 4.519 MB / 0.8317 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005283/1.034, allocations: 2.45 MB / 0.8341 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/1.036, allocations: 0.6696 MB / 0.8347 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005675/1.041, allocations: 2.466 MB / 0.8371 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=270): time 5.761e-06/1.041, allocations: 3.938 kB / 0.8371 GB, free: 8.777 MB / 0.6544 GB Notification: Performance of matching and sorting (n=270): time 0.01924/1.061, allocations: 7.531 MB / 0.8445 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/1.061, allocations: 214 kB / 0.8447 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003527/1.064, allocations: 2.389 MB / 0.847 GB, free: 14.45 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0004864/1.065, allocations: 73.7 kB / 0.8471 GB, free: 14.38 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001716/1.066, allocations: 1.349 MB / 0.8484 GB, free: 13.01 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.00121/1.068, allocations: 0.8971 MB / 0.8493 GB, free: 12.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009437/1.069, allocations: 496.5 kB / 0.8498 GB, free: 11.61 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.069, allocations: 313 kB / 0.8501 GB, free: 11.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004809/1.074, allocations: 1.972 MB / 0.852 GB, free: 9.32 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004898/1.078, allocations: 2.265 MB / 0.8542 GB, free: 6.98 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009475/1.088, allocations: 4.228 MB / 0.8583 GB, free: 2.664 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/1.088, allocations: 4 kB / 0.8583 GB, free: 2.66 MB / 0.67 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.3573/1.445, allocations: 4.957 MB / 0.8632 GB, free: 215.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/1.445, allocations: 9.812 kB / 0.8632 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.94e-05/1.445, allocations: 6.875 kB / 0.8632 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000832/1.446, allocations: 348.1 kB / 0.8635 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003952/1.45, allocations: 0.7794 MB / 0.8643 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004445/1.455, allocations: 4.254 MB / 0.8684 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003709/1.458, allocations: 0.5431 MB / 0.869 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003422/1.459, allocations: 110.2 kB / 0.8691 GB, free: 213.3 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 (278): * Single equations (assignments): 277 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001762/1.46, allocations: 0.9253 MB / 0.87 GB, free: 212.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005597/1.461, allocations: 269.5 kB / 0.8702 GB, free: 212.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0113/1.472, allocations: 5.552 MB / 0.8756 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/1.472, allocations: 28.75 kB / 0.8757 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.472, allocations: 5.938 kB / 0.8757 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.461e-05/1.472, allocations: 13.27 kB / 0.8757 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/1.488, allocations: 9.281 MB / 0.8848 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/1.488, allocations: 0 / 0.8848 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003331/1.491, allocations: 0.7317 MB / 0.8855 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009592/1.492, allocations: 385.2 kB / 0.8858 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002343/1.493, allocations: 81.16 kB / 0.8859 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005246/1.498, allocations: 6.299 MB / 0.8921 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.498, allocations: 1.438 kB / 0.8921 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01738/1.515, allocations: 7.916 MB / 0.8998 GB, free: 200.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001942/1.517, allocations: 0.7969 MB / 0.9006 GB, free: 199.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005015/1.518, allocations: 67.42 kB / 0.9006 GB, free: 199.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003031/1.521, allocations: 407.6 kB / 0.901 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004677/1.521, allocations: 172.6 kB / 0.9012 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002589/1.522, allocations: 97.95 kB / 0.9013 GB, free: 199.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002653/1.524, allocations: 1.747 MB / 0.903 GB, free: 199 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.81e-07/1.524, allocations: 0 / 0.903 GB, free: 199 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003121/1.527, allocations: 1.032 MB / 0.904 GB, free: 198.7 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * 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 {(3,25,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.002413/1.53, allocations: 1.025 MB / 0.905 GB, free: 198.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02012/1.55, allocations: 8.126 MB / 0.9129 GB, free: 196.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/1.55, allocations: 1.125 kB / 0.9129 GB, free: 196.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00616/1.556, allocations: 2.764 MB / 0.9156 GB, free: 195.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/1.56, allocations: 0.6791 MB / 0.9163 GB, free: 195.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/1.575, allocations: 9.348 MB / 0.9254 GB, free: 190.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002173/1.577, allocations: 2.461 MB / 0.9278 GB, free: 189.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.004949/1.582, allocations: 1.108 MB / 0.9289 GB, free: 189.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/1.583, allocations: 260.1 kB / 0.9292 GB, free: 189.6 MB / 0.67 GB Notification: Performance of SimCode: time 6.61e-07/1.583, allocations: 0 / 0.9292 GB, free: 189.6 MB / 0.67 GB Notification: Performance of Templates: time 0.06579/1.649, allocations: 45.82 MB / 0.9739 GB, free: 148.3 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.makefile (rm -f IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & ./IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1)