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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 109.2 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 218.9 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9095/0.9095, allocations: 134 MB / 446.4 MB, free: 10.24 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.03 kB / 0.6185 GB, free: 7.223 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1767, allocations: 85.91 MB / 0.7024 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.6397/0.8164, allocations: 165.5 MB / 0.8641 GB, free: 0.9531 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.04006/0.8564, allocations: 27.36 MB / 0.8908 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003648/0.8601, allocations: 103.2 kB / 0.8909 GB, free: 5.406 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.8629, allocations: 1.088 MB / 0.892 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00549/0.8684, allocations: 1.822 MB / 0.8938 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004718/0.8731, allocations: 1.86 MB / 0.8956 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007244/0.8803, allocations: 5.293 MB / 0.9007 GB, free: 11.33 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005163/0.8855, allocations: 3.324 MB / 0.904 GB, free: 7.93 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004583/0.8901, allocations: 2.221 MB / 0.9062 GB, free: 5.703 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004957/0.895, allocations: 2.678 MB / 0.9088 GB, free: 3.016 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001595/0.8966, allocations: 488 kB / 0.9092 GB, free: 2.539 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003159/0.8998, allocations: 1.14 MB / 0.9103 GB, free: 1.398 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001477/0.9013, allocations: 1.27 MB / 0.9116 GB, free: 128 kB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003055/0.9043, allocations: 2.192 MB / 0.9137 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009149/0.9135, allocations: 6.299 MB / 0.9199 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.9135, allocations: 4 kB / 0.9199 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9135, allocations: 4 kB / 0.9199 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000187/0.9137, allocations: 0 / 0.9199 GB, free: 7.598 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: 882 * Number of variables: 882 Notification: Performance of Generate backend data structure: time 0.01102/0.9247, allocations: 4.825 MB / 0.9246 GB, free: 2.715 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.9247, allocations: 8.031 kB / 0.9246 GB, free: 2.707 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000663/0.9254, allocations: 484.5 kB / 0.9251 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01639/0.9418, allocations: 3.172 MB / 0.9282 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006357/0.9481, allocations: 2.389 MB / 0.9305 GB, free: 12.59 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/0.9484, allocations: 258.9 kB / 0.9307 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001223/0.9496, allocations: 328 kB / 0.9311 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01348/0.9631, allocations: 5.397 MB / 0.9363 GB, free: 6.551 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.188e-05/0.9632, allocations: 3.938 kB / 0.9363 GB, free: 6.547 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004028/0.9636, allocations: 144 kB / 0.9365 GB, free: 6.406 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-05/0.9637, allocations: 80 kB / 0.9366 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01696/0.9806, allocations: 6.524 MB / 0.9429 GB, free: 15.79 MB / 0.7169 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.03451/1.015, allocations: 15.59 MB / 0.9582 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009656/1.025, allocations: 3.846 MB / 0.9619 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006162/1.031, allocations: 2.46 MB / 0.9643 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007586/1.032, allocations: 154 kB / 0.9645 GB, free: 9.094 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006386/1.038, allocations: 2.569 MB / 0.967 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=288): time 5.4e-06/1.038, allocations: 0 / 0.967 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=288): time 0.02277/1.061, allocations: 8.152 MB / 0.9749 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/1.061, allocations: 210.2 kB / 0.9751 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003918/1.065, allocations: 2.554 MB / 0.9776 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0006202/1.066, allocations: 77.7 kB / 0.9777 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001487/1.067, allocations: 1.47 MB / 0.9791 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001428/1.068, allocations: 1.007 MB / 0.9801 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009676/1.069, allocations: 0.4892 MB / 0.9806 GB, free: 8.371 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.07, allocations: 309.1 kB / 0.9809 GB, free: 8.066 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00494/1.075, allocations: 2.042 MB / 0.9829 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00551/1.08, allocations: 2.369 MB / 0.9852 GB, free: 3.566 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01056/1.091, allocations: 4.413 MB / 0.9895 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/1.091, allocations: 4 kB / 0.9895 GB, free: 15.06 MB / 0.7637 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01342/1.104, allocations: 5.26 MB / 0.9946 GB, free: 9.754 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/1.104, allocations: 4 kB / 0.9946 GB, free: 9.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/1.104, allocations: 4 kB / 0.9947 GB, free: 9.746 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/1.105, allocations: 0.5492 MB / 0.9952 GB, free: 9.195 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004133/1.11, allocations: 0.784 MB / 0.996 GB, free: 8.41 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008624/1.118, allocations: 5.637 MB / 1.001 GB, free: 2.652 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004272/1.122, allocations: 0.5504 MB / 1.002 GB, free: 2.102 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006271/1.123, allocations: 111.9 kB / 1.002 GB, free: 1.992 MB / 0.7637 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.002726/1.126, allocations: 0.9597 MB / 1.003 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/1.127, allocations: 314 kB / 1.003 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01494/1.142, allocations: 5.861 MB / 1.009 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/1.142, allocations: 32 kB / 1.009 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.39e-05/1.142, allocations: 7.984 kB / 1.009 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.204e-05/1.142, allocations: 15.89 kB / 1.009 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02287/1.165, allocations: 9.909 MB / 1.019 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/1.165, allocations: 4 kB / 1.019 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004269/1.169, allocations: 0.7449 MB / 1.02 GB, free: 15.97 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001525/1.171, allocations: 0.5294 MB / 1.02 GB, free: 15.43 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004782/1.171, allocations: 79.94 kB / 1.02 GB, free: 15.35 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009786/1.181, allocations: 7.352 MB / 1.027 GB, free: 7.742 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.181, allocations: 0 / 1.027 GB, free: 7.742 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02057/1.201, allocations: 8.388 MB / 1.035 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002985/1.204, allocations: 0.8076 MB / 1.036 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007653/1.205, allocations: 67.89 kB / 1.036 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003266/1.208, allocations: 397.6 kB / 1.037 GB, free: 14 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004846/1.209, allocations: 201.9 kB / 1.037 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002562/1.209, allocations: 103.9 kB / 1.037 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003038/1.212, allocations: 1.862 MB / 1.039 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of sort global known variables: time 9e-08/1.212, allocations: 0 / 1.039 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003353/1.216, allocations: 1.115 MB / 1.04 GB, free: 10.71 MB / 0.8106 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.02387/1.239, allocations: 9.885 MB / 1.05 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01382/1.253, allocations: 4.916 MB / 1.054 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/1.253, allocations: 3.938 kB / 1.054 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.007143/1.26, allocations: 2.792 MB / 1.057 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003757/1.264, allocations: 0.7232 MB / 1.058 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4539/1.718, allocations: 30.99 MB / 1.088 GB, free: 296 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/1.72, allocations: 2.561 MB / 1.091 GB, free: 295 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00373/1.724, allocations: 1.136 MB / 1.092 GB, free: 295 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002105/1.726, allocations: 1.523 MB / 1.093 GB, free: 293.8 MB / 0.8262 GB Notification: Performance of SimCode: time 1.132e-06/1.726, allocations: 0 / 1.093 GB, free: 293.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1233/1.849, allocations: 78.03 MB / 1.169 GB, free: 225.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.76/20.61, allocations: 3.094 kB / 1.169 GB, free: 225.9 MB / 0.8262 GB " [Timeout remaining time 639] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 32.149396560998866] Failed to read output from testmodel.py, exit status != 0: 20.893142471999454 20.912242164 19.994843653 Calling exit ...