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.007448/0.007448, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001616/0.001616, allocations: 190 kB / 16.67 MB, free: 5.977 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7724/0.7724, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 57.91 kB / 0.5813 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.176, allocations: 80.21 MB / 0.6597 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.695/0.871, allocations: 163.1 MB / 0.8189 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03451/0.9056, allocations: 27.44 MB / 0.8457 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004945/0.9106, allocations: 84.16 kB / 0.8458 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002596/0.9133, allocations: 1.137 MB / 0.8469 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006124/0.9194, allocations: 1.927 MB / 0.8488 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00519/0.9246, allocations: 1.993 MB / 0.8507 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006971/0.9316, allocations: 5.858 MB / 0.8565 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006251/0.9379, allocations: 4.873 MB / 0.8612 GB, free: 2.156 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004425/0.9423, allocations: 2.341 MB / 0.8635 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0043/0.9466, allocations: 2.83 MB / 0.8663 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0009594/0.9476, allocations: 0.5186 MB / 0.8668 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.9505, allocations: 1.138 MB / 0.8679 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.9516, allocations: 1.359 MB / 0.8692 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002526/0.9541, allocations: 2.397 MB / 0.8716 GB, free: 356 kB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008169/0.9623, allocations: 6.753 MB / 0.8781 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.9624, allocations: 0.9062 kB / 0.8781 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.934e-06/0.9624, allocations: 0 / 0.8781 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002181/0.9626, allocations: 0.8125 kB / 0.8781 GB, free: 13.94 MB / 0.6544 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.01185/0.9745, allocations: 5.106 MB / 0.8831 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.9745, allocations: 10.34 kB / 0.8831 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/0.9879, allocations: 2.836 MB / 0.8859 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005627/0.9935, allocations: 2.539 MB / 0.8884 GB, free: 8.348 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.9937, allocations: 282.9 kB / 0.8887 GB, free: 8.219 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008114/0.9946, allocations: 364.1 kB / 0.889 GB, free: 8.102 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01216/1.007, allocations: 5.736 MB / 0.8946 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.978e-05/1.007, allocations: 2.531 kB / 0.8946 GB, free: 4.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004051/1.007, allocations: 151.5 kB / 0.8948 GB, free: 4.723 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.397e-05/1.007, allocations: 96.59 kB / 0.8949 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01562/1.023, allocations: 6.856 MB / 0.9015 GB, free: 15.69 MB / 0.67 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.02851/1.051, allocations: 17.26 MB / 0.9184 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008844/1.06, allocations: 4.482 MB / 0.9228 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005408/1.066, allocations: 2.947 MB / 0.9257 GB, free: 6.609 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009184/1.067, allocations: 0.6755 MB / 0.9263 GB, free: 5.82 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005449/1.072, allocations: 2.728 MB / 0.929 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=315): time 5.671e-06/1.072, allocations: 0 / 0.929 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of matching and sorting (n=315): time 0.02404/1.096, allocations: 9.693 MB / 0.9385 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/1.096, allocations: 214.4 kB / 0.9387 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003598/1.1, allocations: 2.662 MB / 0.9413 GB, free: 6.336 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003183/1.1, allocations: 77.7 kB / 0.9413 GB, free: 6.254 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/1.102, allocations: 1.541 MB / 0.9428 GB, free: 4.699 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000976/1.103, allocations: 1.046 MB / 0.9439 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001033/1.104, allocations: 0.5486 MB / 0.9444 GB, free: 3.109 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.119e-05/1.104, allocations: 301.1 kB / 0.9447 GB, free: 2.812 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004704/1.108, allocations: 2.183 MB / 0.9468 GB, free: 0.625 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004926/1.113, allocations: 2.52 MB / 0.9493 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009575/1.123, allocations: 4.71 MB / 0.9539 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/1.123, allocations: 3.984 kB / 0.9539 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01227/1.135, allocations: 5.803 MB / 0.9595 GB, free: 3.457 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/1.135, allocations: 8 kB / 0.9595 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/1.135, allocations: 4 kB / 0.9596 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001707/1.137, allocations: 0.8388 MB / 0.9604 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003778/1.141, allocations: 0.8158 MB / 0.9612 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009718/1.151, allocations: 7.561 MB / 0.9686 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003631/1.154, allocations: 0.5692 MB / 0.9691 GB, free: 9.574 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002978/1.155, allocations: 123.9 kB / 0.9692 GB, free: 9.453 MB / 0.7325 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.00201/1.157, allocations: 1.027 MB / 0.9702 GB, free: 8.445 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006054/1.157, allocations: 304.2 kB / 0.9705 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/1.17, allocations: 6.377 MB / 0.9767 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/1.17, allocations: 32 kB / 0.9768 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/1.17, allocations: 12 kB / 0.9768 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-05/1.17, allocations: 15.94 kB / 0.9768 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01928/1.19, allocations: 10.73 MB / 0.9873 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/1.19, allocations: 3.984 kB / 0.9873 GB, free: 6.926 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003856/1.194, allocations: 0.7662 MB / 0.988 GB, free: 6.184 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/1.196, allocations: 0.7301 MB / 0.9887 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002984/1.196, allocations: 87.92 kB / 0.9888 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0115/1.207, allocations: 10.66 MB / 0.9992 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.207, allocations: 3.938 kB / 0.9992 GB, free: 10.29 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01783/1.225, allocations: 9.072 MB / 1.008 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001854/1.227, allocations: 0.8947 MB / 1.009 GB, free: 260 kB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004563/1.228, allocations: 67.84 kB / 1.009 GB, free: 192 kB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002958/1.231, allocations: 407.4 kB / 1.009 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004614/1.231, allocations: 206.3 kB / 1.01 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002686/1.231, allocations: 111.9 kB / 1.01 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002563/1.234, allocations: 1.924 MB / 1.012 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.91e-07/1.234, allocations: 4 kB / 1.012 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003104/1.237, allocations: 1.223 MB / 1.013 GB, free: 12.32 MB / 0.7794 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.002354/1.239, allocations: 1.046 MB / 1.014 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.25, allocations: 5.519 MB / 1.019 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/1.25, allocations: 4.125 kB / 1.019 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.006107/1.256, allocations: 3.321 MB / 1.022 GB, free: 2.891 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003217/1.26, allocations: 0.7671 MB / 1.023 GB, free: 2.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/1.277, allocations: 8.904 MB / 1.032 GB, free: 9.254 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00225/1.279, allocations: 2.699 MB / 1.035 GB, free: 6.527 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003944/1.283, allocations: 1.158 MB / 1.036 GB, free: 5.363 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001087/1.284, allocations: 279.2 kB / 1.036 GB, free: 5.094 MB / 0.795 GB Notification: Performance of SimCode: time 1.362e-06/1.284, allocations: 0 / 1.036 GB, free: 5.094 MB / 0.795 GB Notification: Performance of Templates: time 0.09639/1.38, allocations: 55.5 MB / 1.09 GB, free: 14.18 MB / 0.8575 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)