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.001166/0.001166, 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.001169/0.00117, allocations: 192.5 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.361/1.361, 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.9868/0.9868, allocations: 135.2 MB / 425.2 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 63.66 kB / 0.5049 GB, free: 5.586 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2067, allocations: 80.93 MB / 0.5839 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.5931/0.7998, allocations: 158.5 MB / 0.7388 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03773/0.8375, allocations: 26.42 MB / 0.7646 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006672/0.8443, allocations: 67.62 kB / 0.7646 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003129/0.8475, allocations: 0.9062 MB / 0.7655 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006021/0.8535, allocations: 1.529 MB / 0.767 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004634/0.8582, allocations: 1.536 MB / 0.7685 GB, free: 64 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006788/0.865, allocations: 4.826 MB / 0.7732 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005552/0.8705, allocations: 4.275 MB / 0.7774 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003971/0.8745, allocations: 2.015 MB / 0.7794 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003832/0.8784, allocations: 2.495 MB / 0.7818 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009103/0.8793, allocations: 448 kB / 0.7822 GB, free: 1.949 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.8818, allocations: 1.034 MB / 0.7832 GB, free: 0.9141 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.8828, allocations: 1.169 MB / 0.7844 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.002341/0.8852, allocations: 2.037 MB / 0.7864 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007117/0.8923, allocations: 5.694 MB / 0.7919 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.8923, allocations: 4 kB / 0.7919 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.462e-06/0.8923, allocations: 0 / 0.7919 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.00015/0.8925, allocations: 0 / 0.7919 GB, free: 7.98 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.009387/0.9019, allocations: 4.481 MB / 0.7963 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.9019, allocations: 8.031 kB / 0.7963 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/0.9153, allocations: 2.772 MB / 0.799 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004709/0.92, allocations: 2.262 MB / 0.8012 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.9202, allocations: 246.5 kB / 0.8015 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005705/0.9208, allocations: 315.9 kB / 0.8018 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/0.9318, allocations: 5.148 MB / 0.8068 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.139e-05/0.9319, allocations: 3.938 kB / 0.8068 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003529/0.9322, allocations: 132 kB / 0.8069 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.602e-05/0.9323, allocations: 87.94 kB / 0.807 GB, free: 8.305 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/0.9462, allocations: 6.284 MB / 0.8131 GB, free: 2.008 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.03056/0.9767, allocations: 14.52 MB / 0.8273 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01046/0.9872, allocations: 4.515 MB / 0.8317 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005315/0.9926, allocations: 2.458 MB / 0.8341 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.9936, allocations: 0.6696 MB / 0.8348 GB, free: 11.17 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005753/0.9994, allocations: 2.454 MB / 0.8372 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=270): time 5.15e-06/0.9994, allocations: 0 / 0.8372 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of matching and sorting (n=270): time 0.01975/1.019, allocations: 7.543 MB / 0.8445 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/1.019, allocations: 206 kB / 0.8447 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004521/1.024, allocations: 2.393 MB / 0.8471 GB, free: 14.34 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0006504/1.025, allocations: 73.7 kB / 0.8471 GB, free: 14.27 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001566/1.026, allocations: 1.353 MB / 0.8485 GB, free: 12.89 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001464/1.028, allocations: 0.9011 MB / 0.8493 GB, free: 11.98 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001752/1.029, allocations: 496.5 kB / 0.8498 GB, free: 11.49 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000117/1.03, allocations: 305.1 kB / 0.8501 GB, free: 11.19 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004838/1.034, allocations: 1.972 MB / 0.852 GB, free: 9.211 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005186/1.04, allocations: 2.269 MB / 0.8542 GB, free: 6.867 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009935/1.05, allocations: 4.224 MB / 0.8584 GB, free: 2.555 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/1.05, allocations: 0 / 0.8584 GB, free: 2.555 MB / 0.67 GB Notification: Performance of matching and sorting (n=308) (initialization): time 0.3755/1.425, allocations: 4.957 MB / 0.8632 GB, free: 215.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/1.425, allocations: 10.47 kB / 0.8632 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/1.425, allocations: 2.969 kB / 0.8632 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009137/1.426, allocations: 352 kB / 0.8636 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004177/1.43, allocations: 0.7832 MB / 0.8643 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004793/1.435, allocations: 4.251 MB / 0.8685 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004281/1.439, allocations: 0.5437 MB / 0.869 GB, free: 213.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006102/1.44, allocations: 113.9 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.002146/1.442, allocations: 0.9215 MB / 0.87 GB, free: 212.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008049/1.443, allocations: 273.4 kB / 0.8703 GB, free: 212.9 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/1.455, allocations: 5.546 MB / 0.8757 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/1.455, allocations: 27.66 kB / 0.8757 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.241e-05/1.455, allocations: 5.281 kB / 0.8757 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-05/1.455, allocations: 16.83 kB / 0.8757 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01641/1.471, allocations: 9.277 MB / 0.8848 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.471, allocations: 3 kB / 0.8848 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003536/1.475, allocations: 0.7379 MB / 0.8855 GB, free: 207.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/1.476, allocations: 389.4 kB / 0.8859 GB, free: 207.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003449/1.476, allocations: 80.31 kB / 0.886 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005508/1.482, allocations: 6.293 MB / 0.8921 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/1.482, allocations: 1.125 kB / 0.8921 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01905/1.501, allocations: 7.916 MB / 0.8999 GB, free: 200.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002232/1.503, allocations: 0.7977 MB / 0.9006 GB, free: 199.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006867/1.504, allocations: 68.59 kB / 0.9007 GB, free: 199.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003445/1.507, allocations: 404.1 kB / 0.9011 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006159/1.508, allocations: 176.7 kB / 0.9012 GB, free: 199.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003329/1.508, allocations: 97.53 kB / 0.9013 GB, free: 199.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003321/1.512, allocations: 1.746 MB / 0.903 GB, free: 199 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.41e-07/1.512, allocations: 0 / 0.903 GB, free: 199 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003503/1.515, allocations: 1.036 MB / 0.9041 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.002495/1.518, allocations: 1.019 MB / 0.9051 GB, free: 198.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02081/1.538, allocations: 8.132 MB / 0.913 GB, free: 196.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/1.538, allocations: 5.281 kB / 0.913 GB, free: 196.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006648/1.545, allocations: 2.752 MB / 0.9157 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.003605/1.549, allocations: 0.6797 MB / 0.9164 GB, free: 195.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/1.564, allocations: 9.35 MB / 0.9255 GB, free: 190.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002192/1.567, allocations: 2.448 MB / 0.9279 GB, free: 189.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.005697/1.572, allocations: 1.109 MB / 0.929 GB, free: 189.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/1.574, allocations: 256.7 kB / 0.9292 GB, free: 189.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.142e-06/1.574, allocations: 0 / 0.9292 GB, free: 189.6 MB / 0.67 GB Notification: Performance of Templates: time 0.06377/1.637, allocations: 45.84 MB / 0.974 GB, free: 148.2 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)