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: "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006182/0.006182, allocations: 100.9 kB / 15.73 MB, free: 6.035 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.001385/0.001385, allocations: 199.2 kB / 16.68 MB, free: 5.953 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7745/0.7745, allocations: 132.2 MB / 422.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 62.28 kB / 0.5808 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.158, allocations: 80.23 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.5819/0.74, allocations: 163.1 MB / 0.8184 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03785/0.7778, allocations: 27.45 MB / 0.8452 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005086/0.783, allocations: 87.62 kB / 0.8453 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003434/0.7865, allocations: 1.131 MB / 0.8464 GB, free: 2.195 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007277/0.7938, allocations: 1.927 MB / 0.8483 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.006195/0.8, allocations: 1.985 MB / 0.8503 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009216/0.8092, allocations: 5.86 MB / 0.856 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008554/0.8178, allocations: 4.882 MB / 0.8607 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005528/0.8234, allocations: 2.347 MB / 0.863 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005258/0.8286, allocations: 2.818 MB / 0.8658 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001841/0.8305, allocations: 0.5195 MB / 0.8663 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003932/0.8344, allocations: 1.136 MB / 0.8674 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.002417/0.8369, allocations: 1.367 MB / 0.8687 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.005905/0.8428, allocations: 2.387 MB / 0.8711 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01252/0.8554, allocations: 6.757 MB / 0.8777 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.8554, allocations: 0 / 0.8777 GB, free: 6.18 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8554, allocations: 3.938 kB / 0.8777 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003086/0.8557, allocations: 0 / 0.8777 GB, free: 6.176 MB / 0.6387 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.01484/0.8706, allocations: 5.11 MB / 0.8827 GB, free: 0.9883 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.8706, allocations: 8.031 kB / 0.8827 GB, free: 0.9805 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001611/0.8722, allocations: 0.5104 MB / 0.8832 GB, free: 472 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01386/0.8861, allocations: 2.834 MB / 0.8859 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006856/0.893, allocations: 2.542 MB / 0.8884 GB, free: 11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000327/0.8934, allocations: 283.5 kB / 0.8887 GB, free: 10.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001497/0.8949, allocations: 367.9 kB / 0.889 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01569/0.9106, allocations: 5.736 MB / 0.8946 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/0.9108, allocations: 4 kB / 0.8946 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001006/0.9118, allocations: 152 kB / 0.8948 GB, free: 4.418 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.794e-05/0.9119, allocations: 95.94 kB / 0.8949 GB, free: 4.324 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01741/0.9293, allocations: 6.862 MB / 0.9016 GB, free: 13.45 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.03554/0.9649, allocations: 17.25 MB / 0.9184 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009862/0.9748, allocations: 4.488 MB / 0.9228 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005931/0.9807, allocations: 2.935 MB / 0.9257 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001012/0.9818, allocations: 0.6894 MB / 0.9264 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006026/0.9878, allocations: 2.717 MB / 0.929 GB, free: 440 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=315): time 6.582e-06/0.9878, allocations: 0 / 0.929 GB, free: 440 kB / 0.6856 GB Notification: Performance of matching and sorting (n=315): time 0.02545/1.013, allocations: 9.698 MB / 0.9385 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/1.013, allocations: 222.3 kB / 0.9387 GB, free: 6.332 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004663/1.018, allocations: 2.65 MB / 0.9413 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0005616/1.019, allocations: 85.7 kB / 0.9414 GB, free: 3.578 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.00161/1.02, allocations: 1.546 MB / 0.9429 GB, free: 2.016 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.001511/1.022, allocations: 1.047 MB / 0.9439 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001495/1.023, allocations: 0.5289 MB / 0.9444 GB, free: 428 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.024, allocations: 301.1 kB / 0.9447 GB, free: 124 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005048/1.029, allocations: 2.16 MB / 0.9468 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005325/1.034, allocations: 2.517 MB / 0.9493 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0103/1.044, allocations: 4.688 MB / 0.9538 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/1.044, allocations: 0 / 0.9538 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01342/1.058, allocations: 5.755 MB / 0.9595 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/1.058, allocations: 4 kB / 0.9595 GB, free: 0.7734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/1.058, allocations: 4 kB / 0.9595 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001853/1.06, allocations: 0.8279 MB / 0.9603 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004145/1.064, allocations: 0.8034 MB / 0.9611 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/1.075, allocations: 7.558 MB / 0.9684 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004129/1.08, allocations: 0.5652 MB / 0.969 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007057/1.08, allocations: 115.9 kB / 0.9691 GB, free: 6.75 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: 11 ($PRE.intGai.nextTimeEvent,$whenCondition1,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 (283): * Single equations (assignments): 282 * 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.002791/1.083, allocations: 1.032 MB / 0.9701 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001138/1.084, allocations: 304.2 kB / 0.9704 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01499/1.099, allocations: 6.385 MB / 0.9766 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/1.099, allocations: 32 kB / 0.9767 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.333e-05/1.099, allocations: 8 kB / 0.9767 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.77e-05/1.099, allocations: 15.94 kB / 0.9767 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02215/1.122, allocations: 10.73 MB / 0.9872 GB, free: 4.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/1.122, allocations: 0 / 0.9872 GB, free: 4.039 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004105/1.126, allocations: 0.7644 MB / 0.9879 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001929/1.128, allocations: 0.7418 MB / 0.9886 GB, free: 2.52 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004733/1.128, allocations: 79.94 kB / 0.9887 GB, free: 2.441 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/1.14, allocations: 10.66 MB / 0.9991 GB, free: 7.336 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/1.14, allocations: 3.938 kB / 0.9991 GB, free: 7.332 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/1.16, allocations: 9.072 MB / 1.008 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002272/1.163, allocations: 0.9025 MB / 1.009 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/1.164, allocations: 75.83 kB / 1.009 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00337/1.167, allocations: 395.4 kB / 1.009 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007032/1.168, allocations: 218.2 kB / 1.01 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004375/1.168, allocations: 103.9 kB / 1.01 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0035/1.172, allocations: 1.932 MB / 1.012 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/1.172, allocations: 0 / 1.012 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004015/1.176, allocations: 1.215 MB / 1.013 GB, free: 9.316 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.02164/1.198, allocations: 10.58 MB / 1.023 GB, free: 15.05 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01213/1.21, allocations: 5.481 MB / 1.028 GB, free: 9.531 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.21, allocations: 3.938 kB / 1.028 GB, free: 9.527 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.006815/1.217, allocations: 3.318 MB / 1.032 GB, free: 6.168 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004049/1.221, allocations: 0.7756 MB / 1.032 GB, free: 5.426 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4502/1.671, allocations: 33.18 MB / 1.065 GB, free: 302.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003434/1.674, allocations: 2.693 MB / 1.067 GB, free: 301.2 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004299/1.679, allocations: 1.162 MB / 1.069 GB, free: 301.2 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002341/1.681, allocations: 1.641 MB / 1.07 GB, free: 299.9 MB / 0.8106 GB Notification: Performance of SimCode: time 8.52e-07/1.681, allocations: 0 / 1.07 GB, free: 299.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1568/1.838, allocations: 81.9 MB / 1.15 GB, free: 235.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.01/20.84, allocations: 16.55 kB / 1.15 GB, free: 235.5 MB / 0.8106 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1)