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.007184/0.007184, allocations: 100.3 kB / 15.73 MB, free: 6.449 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.001395/0.001395, allocations: 198.2 kB / 16.68 MB, free: 6.355 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.779/0.779, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.91 kB / 0.5813 GB, free: 7.562 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5042/0.5056, allocations: 80.21 MB / 0.6597 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.208/0.7136, allocations: 163.1 MB / 0.8189 GB, free: 2.699 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04108/0.7548, allocations: 27.44 MB / 0.8457 GB, free: 7.168 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004679/0.7595, allocations: 87.56 kB / 0.8458 GB, free: 7.082 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003426/0.763, allocations: 1.138 MB / 0.8469 GB, free: 5.938 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007025/0.77, allocations: 1.924 MB / 0.8488 GB, free: 4.008 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.007167/0.7772, allocations: 1.982 MB / 0.8507 GB, free: 2.039 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01069/0.7879, allocations: 5.861 MB / 0.8565 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008161/0.7961, allocations: 4.889 MB / 0.8612 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005533/0.8016, allocations: 2.342 MB / 0.8635 GB, free: 4.852 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005408/0.8071, allocations: 2.822 MB / 0.8663 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002142/0.8092, allocations: 0.5195 MB / 0.8668 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00399/0.8132, allocations: 1.14 MB / 0.8679 GB, free: 368 kB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.49/1.303, allocations: 1.356 MB / 0.8692 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00476/1.308, allocations: 2.393 MB / 0.8716 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01108/1.319, allocations: 6.757 MB / 0.8782 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.319, allocations: 0 / 0.8782 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.294e-06/1.319, allocations: 0 / 0.8782 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002511/1.319, allocations: 3.734 kB / 0.8782 GB, free: 12.64 MB / 0.6856 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.01487/1.334, allocations: 5.1 MB / 0.8831 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.334, allocations: 9.469 kB / 0.8832 GB, free: 10.68 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/1.349, allocations: 2.831 MB / 0.8859 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005737/1.355, allocations: 2.546 MB / 0.8884 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002815/1.355, allocations: 283.4 kB / 0.8887 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008269/1.356, allocations: 366.7 kB / 0.889 GB, free: 9.766 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/1.37, allocations: 5.73 MB / 0.8946 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.646e-05/1.37, allocations: 2.562 kB / 0.8946 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000452/1.37, allocations: 156.9 kB / 0.8948 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000104/1.37, allocations: 91.66 kB / 0.8949 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/1.386, allocations: 6.857 MB / 0.9016 GB, free: 9.461 MB / 0.6856 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.03117/1.417, allocations: 17.24 MB / 0.9184 GB, free: 4.383 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009985/1.427, allocations: 4.495 MB / 0.9228 GB, free: 4.281 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005904/1.433, allocations: 2.941 MB / 0.9257 GB, free: 3.938 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/1.434, allocations: 0.6746 MB / 0.9263 GB, free: 3.242 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006166/1.44, allocations: 2.729 MB / 0.929 GB, free: 2.379 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=315): time 6.332e-06/1.44, allocations: 0 / 0.929 GB, free: 2.379 MB / 0.6856 GB Notification: Performance of matching and sorting (n=315): time 0.02684/1.467, allocations: 9.7 MB / 0.9384 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001415/1.467, allocations: 216.2 kB / 0.9387 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005636/1.473, allocations: 2.663 MB / 0.9413 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0006042/1.474, allocations: 83.11 kB / 0.9413 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001835/1.475, allocations: 1.53 MB / 0.9428 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001563/1.477, allocations: 1.055 MB / 0.9439 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002076/1.479, allocations: 0.5373 MB / 0.9444 GB, free: 12.99 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.479, allocations: 301.1 kB / 0.9447 GB, free: 12.69 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005058/1.484, allocations: 2.186 MB / 0.9468 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005895/1.49, allocations: 2.525 MB / 0.9493 GB, free: 9.352 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/1.501, allocations: 4.709 MB / 0.9539 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/1.501, allocations: 0 / 0.9539 GB, free: 4.578 MB / 0.7012 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01505/1.516, allocations: 5.804 MB / 0.9595 GB, free: 14.78 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/1.516, allocations: 12.03 kB / 0.9595 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/1.516, allocations: 7.938 kB / 0.9596 GB, free: 14.76 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002046/1.518, allocations: 0.8389 MB / 0.9604 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004299/1.523, allocations: 0.8103 MB / 0.9612 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/1.535, allocations: 7.564 MB / 0.9686 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00531/1.54, allocations: 0.5716 MB / 0.9691 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008441/1.541, allocations: 131.7 kB / 0.9692 GB, free: 4.773 MB / 0.7169 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.003598/1.545, allocations: 1.018 MB / 0.9702 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001585/1.546, allocations: 312.1 kB / 0.9705 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01819/1.564, allocations: 6.375 MB / 0.9768 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.131e-05/1.564, allocations: 32 kB / 0.9768 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.931e-05/1.565, allocations: 8 kB / 0.9768 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.482e-05/1.565, allocations: 15.94 kB / 0.9768 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02763/1.592, allocations: 10.72 MB / 0.9873 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/1.592, allocations: 4 kB / 0.9873 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004226/1.597, allocations: 0.7658 MB / 0.988 GB, free: 1.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002093/1.599, allocations: 0.7333 MB / 0.9887 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005342/1.599, allocations: 87.92 kB / 0.9888 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01399/1.613, allocations: 10.66 MB / 0.9992 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.613, allocations: 0 / 0.9992 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02604/1.639, allocations: 9.08 MB / 1.008 GB, free: 12.5 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003195/1.643, allocations: 0.8908 MB / 1.009 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001625/1.644, allocations: 67.84 kB / 1.009 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00509/1.649, allocations: 405.1 kB / 1.009 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00095/1.65, allocations: 217.4 kB / 1.01 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006383/1.651, allocations: 103.9 kB / 1.01 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.004384/1.655, allocations: 1.928 MB / 1.012 GB, free: 8.875 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.11e-07/1.655, allocations: 0 / 1.012 GB, free: 8.875 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005972/1.661, allocations: 1.223 MB / 1.013 GB, free: 7.648 MB / 0.7637 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.003393/1.665, allocations: 1.044 MB / 1.014 GB, free: 7.074 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01418/1.679, allocations: 5.518 MB / 1.019 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/1.679, allocations: 0 / 1.019 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.007866/1.687, allocations: 3.32 MB / 1.022 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005586/1.692, allocations: 0.7816 MB / 1.023 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02156/1.714, allocations: 8.901 MB / 1.032 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004109/1.718, allocations: 2.695 MB / 1.035 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.005934/1.724, allocations: 1.164 MB / 1.036 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002044/1.726, allocations: 275.2 kB / 1.036 GB, free: 460 kB / 0.7794 GB Notification: Performance of SimCode: time 1.262e-06/1.726, allocations: 0 / 1.036 GB, free: 460 kB / 0.7794 GB Notification: Performance of Templates: time 0.103/1.829, allocations: 55.48 MB / 1.09 GB, free: 9.605 MB / 0.8419 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)