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.005107/0.005107, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001151/0.001151, allocations: 195.1 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7773/0.7773, allocations: 132.2 MB / 422.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 66.39 kB / 0.5808 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1567, allocations: 80.21 MB / 0.6592 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.6085/0.7652, allocations: 161.7 MB / 0.8171 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03637/0.8016, allocations: 27.04 MB / 0.8435 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004578/0.8063, allocations: 81.12 kB / 0.8436 GB, free: 2.52 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002814/0.8091, allocations: 1.066 MB / 0.8446 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006335/0.8155, allocations: 1.796 MB / 0.8464 GB, free: 2.453 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006212/0.8217, allocations: 1.806 MB / 0.8482 GB, free: 2.414 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008651/0.8304, allocations: 5.22 MB / 0.8533 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00638/0.8368, allocations: 4.503 MB / 0.8577 GB, free: 1.941 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005018/0.8419, allocations: 2.169 MB / 0.8598 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004249/0.8461, allocations: 2.605 MB / 0.8623 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001193/0.8473, allocations: 485.4 kB / 0.8628 GB, free: 1.477 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003274/0.8506, allocations: 1.09 MB / 0.8638 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001404/0.852, allocations: 1.243 MB / 0.8651 GB, free: 1.301 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003232/0.8553, allocations: 2.183 MB / 0.8672 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008923/0.8642, allocations: 6.234 MB / 0.8733 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.8643, allocations: 0 / 0.8733 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.434e-06/0.8643, allocations: 1 kB / 0.8733 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002307/0.8645, allocations: 0 / 0.8733 GB, free: 15.07 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.01266/0.8772, allocations: 4.879 MB / 0.878 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.8773, allocations: 8.031 kB / 0.878 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007528/0.878, allocations: 481.4 kB / 0.8785 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01345/0.8915, allocations: 2.822 MB / 0.8813 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006227/0.8978, allocations: 2.416 MB / 0.8836 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.898, allocations: 255.8 kB / 0.8839 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/0.899, allocations: 335.9 kB / 0.8842 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01368/0.9127, allocations: 5.387 MB / 0.8894 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.149e-05/0.9128, allocations: 6.5 kB / 0.8895 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004293/0.9133, allocations: 137.5 kB / 0.8896 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.31e-05/0.9134, allocations: 88.84 kB / 0.8897 GB, free: 6.578 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01723/0.9306, allocations: 6.52 MB / 0.896 GB, free: 3.352 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.03272/0.9634, allocations: 15.64 MB / 0.9113 GB, free: 3.426 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009015/0.9724, allocations: 4.087 MB / 0.9153 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005542/0.978, allocations: 2.662 MB / 0.9179 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001037/0.9791, allocations: 0.678 MB / 0.9186 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006164/0.9853, allocations: 2.573 MB / 0.9211 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=288): time 6.122e-06/0.9853, allocations: 0 / 0.9211 GB, free: 9.273 MB / 0.6856 GB Notification: Performance of matching and sorting (n=288): time 0.02214/1.007, allocations: 8.399 MB / 0.9293 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/1.008, allocations: 218.2 kB / 0.9295 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003644/1.011, allocations: 2.509 MB / 0.9319 GB, free: 14 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0006225/1.012, allocations: 77.7 kB / 0.932 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001375/1.013, allocations: 1.468 MB / 0.9334 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.00128/1.015, allocations: 1.003 MB / 0.9344 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009882/1.016, allocations: 0.497 MB / 0.9349 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.016, allocations: 305.1 kB / 0.9352 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004795/1.021, allocations: 2.038 MB / 0.9372 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005214/1.026, allocations: 2.366 MB / 0.9395 GB, free: 6.148 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009906/1.036, allocations: 4.405 MB / 0.9438 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/1.036, allocations: 0 / 0.9438 GB, free: 1.672 MB / 0.7012 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01261/1.048, allocations: 5.288 MB / 0.949 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/1.048, allocations: 11.94 kB / 0.949 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/1.048, allocations: 4 kB / 0.949 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001272/1.05, allocations: 0.5447 MB / 0.9495 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004021/1.054, allocations: 0.7923 MB / 0.9503 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007657/1.061, allocations: 5.725 MB / 0.9559 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004602/1.066, allocations: 0.5524 MB / 0.9564 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006697/1.067, allocations: 107.9 kB / 0.9565 GB, free: 4.543 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.00254/1.069, allocations: 0.9673 MB / 0.9575 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009846/1.07, allocations: 302 kB / 0.9578 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01368/1.084, allocations: 5.89 MB / 0.9635 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.951e-05/1.084, allocations: 28 kB / 0.9635 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/1.084, allocations: 8 kB / 0.9635 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.192e-05/1.084, allocations: 19.88 kB / 0.9636 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02061/1.105, allocations: 9.893 MB / 0.9732 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/1.105, allocations: 4 kB / 0.9732 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003804/1.109, allocations: 0.7503 MB / 0.974 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/1.11, allocations: 0.5222 MB / 0.9745 GB, free: 2.133 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003657/1.11, allocations: 83.92 kB / 0.9745 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008285/1.119, allocations: 7.555 MB / 0.9819 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.119, allocations: 0 / 0.9819 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01891/1.138, allocations: 8.416 MB / 0.9901 GB, free: 1.746 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002609/1.14, allocations: 0.8576 MB / 0.991 GB, free: 0.8672 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006821/1.141, allocations: 63.88 kB / 0.991 GB, free: 0.8047 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003146/1.144, allocations: 401.6 kB / 0.9914 GB, free: 424 kB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004497/1.145, allocations: 186.1 kB / 0.9916 GB, free: 236 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002552/1.145, allocations: 99.94 kB / 0.9917 GB, free: 136 kB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002722/1.148, allocations: 1.835 MB / 0.9935 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of sort global known variables: time 3.61e-07/1.148, allocations: 4 kB / 0.9935 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003692/1.151, allocations: 1.107 MB / 0.9946 GB, free: 13.18 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.02059/1.172, allocations: 9.91 MB / 1.004 GB, free: 3.656 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01289/1.185, allocations: 5.083 MB / 1.009 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/1.185, allocations: 0 / 1.009 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.006901/1.192, allocations: 2.957 MB / 1.012 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003983/1.196, allocations: 0.73 MB / 1.013 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06295/1.259, allocations: 30.92 MB / 1.043 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002284/1.261, allocations: 2.555 MB / 1.046 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003978/1.265, allocations: 1.125 MB / 1.047 GB, free: 8.152 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002645/1.268, allocations: 1.517 MB / 1.048 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of SimCode: time 1.503e-06/1.268, allocations: 0 / 1.048 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1358/1.404, allocations: 75.2 MB / 1.122 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.85/20.25, allocations: 0 / 1.122 GB, free: 12.12 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)