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.005181/0.005181, allocations: 102.9 kB / 15.74 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.00128/0.00128, allocations: 199.5 kB / 16.68 MB, free: 6.352 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8338/0.8338, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.001901, allocations: 66.3 kB / 0.5808 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1895, allocations: 80.2 MB / 0.6592 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.656/0.8455, allocations: 161.7 MB / 0.8171 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03464/0.8802, allocations: 27.04 MB / 0.8435 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004533/0.8848, allocations: 81.03 kB / 0.8436 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003094/0.888, allocations: 1.066 MB / 0.8446 GB, free: 2.488 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00582/0.8938, allocations: 1.758 MB / 0.8464 GB, free: 2.438 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005553/0.8994, allocations: 1.802 MB / 0.8481 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008103/0.9075, allocations: 5.213 MB / 0.8532 GB, free: 2.395 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006381/0.9139, allocations: 4.505 MB / 0.8576 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004818/0.9188, allocations: 2.13 MB / 0.8597 GB, free: 1.887 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004525/0.9234, allocations: 2.604 MB / 0.8622 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001814/0.9252, allocations: 486.5 kB / 0.8627 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003737/0.929, allocations: 1.081 MB / 0.8637 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001789/0.9308, allocations: 1.243 MB / 0.865 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00362/0.9344, allocations: 2.184 MB / 0.8671 GB, free: 0.668 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008823/0.9432, allocations: 6.235 MB / 0.8732 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.9433, allocations: 0.9062 kB / 0.8732 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.375e-06/0.9433, allocations: 2.25 kB / 0.8732 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002346/0.9436, allocations: 0.875 kB / 0.8732 GB, free: 15.11 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01448/0.958, allocations: 4.881 MB / 0.878 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.9581, allocations: 11.72 kB / 0.878 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001446/0.9596, allocations: 479.7 kB / 0.8784 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01388/0.9734, allocations: 2.816 MB / 0.8812 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007146/0.9806, allocations: 2.416 MB / 0.8835 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/0.9809, allocations: 257.8 kB / 0.8838 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/0.9823, allocations: 335.8 kB / 0.8841 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/0.9974, allocations: 5.39 MB / 0.8894 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.358e-05/0.9975, allocations: 0 / 0.8894 GB, free: 6.746 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005228/0.9981, allocations: 141.4 kB / 0.8895 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.125e-05/0.9981, allocations: 85.44 kB / 0.8896 GB, free: 6.637 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01743/1.016, allocations: 6.527 MB / 0.896 GB, free: 3.398 MB / 0.6544 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.03574/1.051, allocations: 15.65 MB / 0.9112 GB, free: 3.465 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/1.061, allocations: 4.077 MB / 0.9152 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006603/1.068, allocations: 2.67 MB / 0.9178 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00126/1.069, allocations: 0.6725 MB / 0.9185 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007319/1.077, allocations: 2.565 MB / 0.921 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=288): time 7.424e-06/1.077, allocations: 8 kB / 0.921 GB, free: 9.316 MB / 0.6856 GB Notification: Performance of matching and sorting (n=288): time 0.02645/1.103, allocations: 8.401 MB / 0.9292 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000154/1.103, allocations: 210.2 kB / 0.9294 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005137/1.109, allocations: 2.517 MB / 0.9319 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0009194/1.109, allocations: 77.7 kB / 0.9319 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.002229/1.112, allocations: 1.461 MB / 0.9334 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.002138/1.114, allocations: 1.014 MB / 0.9343 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0027/1.117, allocations: 0.4892 MB / 0.9348 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001572/1.117, allocations: 305.1 kB / 0.9351 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005665/1.122, allocations: 2.042 MB / 0.9371 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006099/1.129, allocations: 2.37 MB / 0.9394 GB, free: 6.188 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01159/1.14, allocations: 4.405 MB / 0.9437 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/1.14, allocations: 0 / 0.9437 GB, free: 1.711 MB / 0.7012 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.0154/1.156, allocations: 5.284 MB / 0.9489 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/1.156, allocations: 8 kB / 0.9489 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/1.156, allocations: 8.156 kB / 0.9489 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001432/1.157, allocations: 0.5523 MB / 0.9494 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0044/1.162, allocations: 0.7806 MB / 0.9502 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009121/1.171, allocations: 5.73 MB / 0.9558 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004431/1.175, allocations: 0.5446 MB / 0.9563 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000751/1.176, allocations: 111.9 kB / 0.9564 GB, free: 4.586 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: 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.003432/1.179, allocations: 0.9672 MB / 0.9574 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001443/1.181, allocations: 302 kB / 0.9577 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01682/1.198, allocations: 5.89 MB / 0.9634 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.291e-05/1.198, allocations: 28 kB / 0.9634 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-05/1.198, allocations: 8 kB / 0.9635 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.35e-05/1.198, allocations: 19.88 kB / 0.9635 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0244/1.222, allocations: 9.904 MB / 0.9731 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/1.222, allocations: 0 / 0.9731 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004031/1.226, allocations: 0.7503 MB / 0.9739 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001545/1.228, allocations: 0.5261 MB / 0.9744 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004769/1.228, allocations: 79.94 kB / 0.9745 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009872/1.238, allocations: 7.542 MB / 0.9818 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.238, allocations: 3.938 kB / 0.9818 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02122/1.26, allocations: 8.416 MB / 0.9901 GB, free: 1.797 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002337/1.262, allocations: 0.8575 MB / 0.9909 GB, free: 0.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/1.263, allocations: 68.02 kB / 0.991 GB, free: 0.8516 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003695/1.267, allocations: 395.4 kB / 0.9913 GB, free: 476 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006625/1.267, allocations: 190.1 kB / 0.9915 GB, free: 284 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004555/1.268, allocations: 103.9 kB / 0.9916 GB, free: 180 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003448/1.271, allocations: 1.834 MB / 0.9934 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.91e-07/1.271, allocations: 0 / 0.9934 GB, free: 14.33 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003889/1.275, allocations: 1.103 MB / 0.9945 GB, free: 13.23 MB / 0.7637 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.02486/1.3, allocations: 9.917 MB / 1.004 GB, free: 3.703 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01433/1.314, allocations: 5.08 MB / 1.009 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.314, allocations: 4.062 kB / 1.009 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.008386/1.323, allocations: 2.954 MB / 1.012 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005838/1.329, allocations: 0.7347 MB / 1.013 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09829/1.427, allocations: 30.91 MB / 1.043 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00428/1.431, allocations: 2.555 MB / 1.045 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.00682/1.438, allocations: 1.132 MB / 1.047 GB, free: 8.195 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004161/1.442, allocations: 1.518 MB / 1.048 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of SimCode: time 1.884e-06/1.442, allocations: 6.531 kB / 1.048 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1782/1.621, allocations: 75.18 MB / 1.121 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.58/20.2, allocations: 6.438 kB / 1.121 GB, free: 12.14 MB / 0.8887 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3600 IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomThreeElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements.pipe 2>&1)