Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.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.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements",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.001142/0.001142, 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.001547/0.001547, allocations: 192.8 kB / 16.25 MB, free: 6.621 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.38/1.38, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7503/0.7503, allocations: 132.2 MB / 422.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.89 kB / 0.5013 GB, free: 9.008 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1868, allocations: 80.21 MB / 0.5797 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.5378/0.7246, allocations: 159.5 MB / 0.7354 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03682/0.7615, allocations: 26.69 MB / 0.7615 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004729/0.7663, allocations: 71.62 kB / 0.7616 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002781/0.7691, allocations: 0.9528 MB / 0.7625 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005693/0.7748, allocations: 1.602 MB / 0.7641 GB, free: 6.129 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004651/0.7795, allocations: 1.617 MB / 0.7656 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006896/0.7864, allocations: 5.225 MB / 0.7707 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005813/0.7922, allocations: 4.511 MB / 0.7751 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004187/0.7965, allocations: 2.145 MB / 0.7772 GB, free: 8.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004012/0.8005, allocations: 2.633 MB / 0.7798 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008862/0.8014, allocations: 484 kB / 0.7803 GB, free: 5.477 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/0.8039, allocations: 1.069 MB / 0.7813 GB, free: 4.406 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001121/0.805, allocations: 1.258 MB / 0.7825 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003064/0.8081, allocations: 2.192 MB / 0.7847 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008255/0.8163, allocations: 6.103 MB / 0.7906 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.8164, allocations: 0 / 0.7906 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.315e-06/0.8164, allocations: 0 / 0.7906 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001816/0.8166, allocations: 0 / 0.7906 GB, free: 10.82 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01152/0.8281, allocations: 4.754 MB / 0.7953 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.8282, allocations: 8.031 kB / 0.7953 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007372/0.8289, allocations: 480.5 kB / 0.7958 GB, free: 5.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01396/0.8429, allocations: 2.795 MB / 0.7985 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005554/0.8485, allocations: 2.369 MB / 0.8008 GB, free: 264 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000202/0.8487, allocations: 258.9 kB / 0.801 GB, free: 4 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000603/0.8493, allocations: 336 kB / 0.8014 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/0.8608, allocations: 5.381 MB / 0.8066 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.216e-05/0.8609, allocations: 7.938 kB / 0.8066 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003618/0.8613, allocations: 144 kB / 0.8068 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-05/0.8613, allocations: 84 kB / 0.8068 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01434/0.8757, allocations: 6.527 MB / 0.8132 GB, free: 3.453 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.02726/0.903, allocations: 15.72 MB / 0.8286 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008119/0.9111, allocations: 4.075 MB / 0.8325 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004916/0.9161, allocations: 2.655 MB / 0.8351 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008931/0.917, allocations: 0.6697 MB / 0.8358 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005337/0.9223, allocations: 2.573 MB / 0.8383 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=288): time 4.959e-06/0.9224, allocations: 0 / 0.8383 GB, free: 8.949 MB / 0.6544 GB Notification: Performance of matching and sorting (n=288): time 0.02109/0.9435, allocations: 8.39 MB / 0.8465 GB, free: 452 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001393/0.9436, allocations: 218.1 kB / 0.8467 GB, free: 188 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004523/0.9482, allocations: 2.509 MB / 0.8492 GB, free: 13.65 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0005715/0.9488, allocations: 77.7 kB / 0.8492 GB, free: 13.57 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/0.9502, allocations: 1.439 MB / 0.8506 GB, free: 12.11 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.001263/0.9515, allocations: 0.9549 MB / 0.8516 GB, free: 11.14 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009565/0.9524, allocations: 0.4892 MB / 0.852 GB, free: 10.65 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.9525, allocations: 305.1 kB / 0.8523 GB, free: 10.35 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004657/0.9572, allocations: 2.031 MB / 0.8543 GB, free: 8.312 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004892/0.9621, allocations: 2.375 MB / 0.8566 GB, free: 5.852 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009277/0.9714, allocations: 4.409 MB / 0.8609 GB, free: 1.355 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.9714, allocations: 4 kB / 0.861 GB, free: 1.352 MB / 0.67 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.333/1.304, allocations: 5.271 MB / 0.8661 GB, free: 218.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/1.304, allocations: 5.625 kB / 0.8661 GB, free: 218.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.305, allocations: 2.938 kB / 0.8661 GB, free: 218.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/1.306, allocations: 0.5549 MB / 0.8666 GB, free: 218.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003609/1.309, allocations: 0.782 MB / 0.8674 GB, free: 218.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006063/1.315, allocations: 5.727 MB / 0.873 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003704/1.319, allocations: 0.5696 MB / 0.8736 GB, free: 215.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004024/1.319, allocations: 108.7 kB / 0.8737 GB, free: 215.5 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: 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 (274): * Single equations (assignments): 273 * 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 {(4,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001722/1.321, allocations: 0.9657 MB / 0.8746 GB, free: 215.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006028/1.322, allocations: 284.4 kB / 0.8749 GB, free: 215 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/1.333, allocations: 5.893 MB / 0.8806 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.92e-05/1.333, allocations: 27.44 kB / 0.8807 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/1.333, allocations: 12.72 kB / 0.8807 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-05/1.333, allocations: 16.78 kB / 0.8807 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0159/1.349, allocations: 9.883 MB / 0.8903 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/1.349, allocations: 4.344 kB / 0.8903 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00372/1.353, allocations: 0.745 MB / 0.8911 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001428/1.354, allocations: 0.5323 MB / 0.8916 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002701/1.355, allocations: 77.47 kB / 0.8917 GB, free: 209.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007498/1.362, allocations: 7.551 MB / 0.899 GB, free: 203.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.362, allocations: 1.062 kB / 0.899 GB, free: 203.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01898/1.381, allocations: 8.396 MB / 0.9072 GB, free: 201 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00178/1.383, allocations: 0.8423 MB / 0.9081 GB, free: 200.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000509/1.384, allocations: 67.5 kB / 0.9081 GB, free: 200.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003156/1.387, allocations: 419.1 kB / 0.9085 GB, free: 200.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004823/1.387, allocations: 192.8 kB / 0.9087 GB, free: 200.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002497/1.388, allocations: 101.4 kB / 0.9088 GB, free: 200.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002414/1.39, allocations: 1.827 MB / 0.9106 GB, free: 199.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 6.01e-07/1.39, allocations: 0 / 0.9106 GB, free: 199.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003418/1.393, allocations: 1.099 MB / 0.9117 GB, free: 199.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneThreeElements.volAir.dynBal.U,thermalZoneThreeElements.volAir.dynBal.m,thermalZoneThreeElements.extWallRC.thermCapExt[1].T,thermalZoneThreeElements.intWallRC.thermCapInt[1].T,thermalZoneThreeElements.floorRC.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 (260): * Single equations (assignments): 253 * 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 {(4,36,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.02193/1.415, allocations: 9.896 MB / 0.9213 GB, free: 195.9 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02077/1.436, allocations: 8.591 MB / 0.9297 GB, free: 194.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/1.436, allocations: 0 / 0.9297 GB, free: 194.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006101/1.442, allocations: 2.951 MB / 0.9326 GB, free: 192.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004434/1.447, allocations: 0.7285 MB / 0.9333 GB, free: 192.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05839/1.505, allocations: 35.79 MB / 0.9683 GB, free: 156.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001588/1.507, allocations: 2.555 MB / 0.9708 GB, free: 153.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003812/1.511, allocations: 1.117 MB / 0.9718 GB, free: 152.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001921/1.513, allocations: 1.518 MB / 0.9733 GB, free: 151 MB / 0.67 GB Notification: Performance of SimCode: time 7.71e-07/1.513, allocations: 7.938 kB / 0.9733 GB, free: 151 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6675/2.18, allocations: 73.82 MB / 1.045 GB, free: 77.79 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/2.18, allocations: 292.2 kB / 1.046 GB, free: 77.41 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.018/6.198, allocations: 0 / 1.046 GB, free: 77.41 MB / 0.67 GB (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)