Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.00125/0.00125, allocations: 103.1 kB / 16.45 MB, free: 6.5 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.001329/0.001329, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.515/1.515, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.8615/0.8615, allocations: 133.9 MB / 442.8 MB, free: 11.32 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.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",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.003023/0.003023, allocations: 68.17 kB / 0.6134 GB, free: 8.793 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2243, allocations: 85.85 MB / 0.6972 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.6703/0.8946, allocations: 163.7 MB / 0.8571 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.04253/0.9372, allocations: 26.76 MB / 0.8832 GB, free: 9.859 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003768/0.9409, allocations: 95.25 kB / 0.8833 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003086/0.944, allocations: 0.9907 MB / 0.8842 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00597/0.95, allocations: 1.675 MB / 0.8859 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005097/0.9551, allocations: 1.615 MB / 0.8875 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007869/0.963, allocations: 4.59 MB / 0.8919 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006726/0.9697, allocations: 3.4 MB / 0.8953 GB, free: 13.43 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005068/0.9748, allocations: 2.023 MB / 0.8972 GB, free: 11.4 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005105/0.9799, allocations: 2.413 MB / 0.8996 GB, free: 8.98 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001819/0.9817, allocations: 428 kB / 0.9 GB, free: 8.562 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003553/0.9852, allocations: 1.077 MB / 0.9011 GB, free: 7.484 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002308/0.9875, allocations: 1.125 MB / 0.9022 GB, free: 6.355 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004689/0.9922, allocations: 1.932 MB / 0.904 GB, free: 4.414 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01051/1.003, allocations: 5.607 MB / 0.9095 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/1.003, allocations: 4 kB / 0.9095 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.575e-06/1.003, allocations: 0 / 0.9095 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002074/1.003, allocations: 0 / 0.9095 GB, free: 14.79 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.01168/1.015, allocations: 4.451 MB / 0.9139 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/1.015, allocations: 13.11 kB / 0.9139 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006683/1.015, allocations: 438.2 kB / 0.9143 GB, free: 9.805 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01715/1.032, allocations: 3.126 MB / 0.9173 GB, free: 6.672 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005265/1.038, allocations: 2.24 MB / 0.9195 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/1.038, allocations: 230.2 kB / 0.9198 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007698/1.039, allocations: 300 kB / 0.92 GB, free: 3.836 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/1.052, allocations: 4.967 MB / 0.9249 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.328e-05/1.052, allocations: 0 / 0.9249 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004276/1.053, allocations: 128 kB / 0.925 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.699e-05/1.053, allocations: 79.94 kB / 0.9251 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01671/1.069, allocations: 6.111 MB / 0.9311 GB, free: 8.457 MB / 0.7012 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.03132/1.101, allocations: 13.57 MB / 0.9443 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01145/1.112, allocations: 4.148 MB / 0.9484 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005784/1.118, allocations: 2.163 MB / 0.9505 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/1.119, allocations: 0.6656 MB / 0.9511 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0064/1.125, allocations: 2.374 MB / 0.9534 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=257): time 5.259e-06/1.125, allocations: 0 / 0.9534 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=257): time 0.02011/1.145, allocations: 6.944 MB / 0.9602 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/1.146, allocations: 213.9 kB / 0.9604 GB, free: 9.609 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004335/1.15, allocations: 2.356 MB / 0.9627 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006071/1.151, allocations: 73.7 kB / 0.9628 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001589/1.152, allocations: 1.336 MB / 0.9641 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001487/1.154, allocations: 0.8948 MB / 0.965 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001682/1.155, allocations: 460.1 kB / 0.9654 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.155, allocations: 305.1 kB / 0.9657 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00516/1.161, allocations: 1.874 MB / 0.9675 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005579/1.166, allocations: 2.18 MB / 0.9697 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01101/1.177, allocations: 4.041 MB / 0.9736 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-05/1.177, allocations: 0 / 0.9736 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01424/1.191, allocations: 4.652 MB / 0.9782 GB, free: 7.145 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/1.192, allocations: 11.94 kB / 0.9782 GB, free: 7.133 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/1.192, allocations: 4 kB / 0.9782 GB, free: 7.129 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007575/1.192, allocations: 236.8 kB / 0.9784 GB, free: 6.895 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004442/1.197, allocations: 0.7566 MB / 0.9791 GB, free: 6.137 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005155/1.202, allocations: 3.377 MB / 0.9824 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004226/1.206, allocations: 0.5193 MB / 0.9829 GB, free: 2.102 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007983/1.207, allocations: 103.9 kB / 0.983 GB, free: 2 MB / 0.7481 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 (264): * Single equations (assignments): 263 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003165/1.21, allocations: 0.8914 MB / 0.9839 GB, free: 1.098 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/1.211, allocations: 278.2 kB / 0.9842 GB, free: 0.8242 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01676/1.228, allocations: 5.268 MB / 0.9893 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-05/1.228, allocations: 24 kB / 0.9893 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.988e-05/1.228, allocations: 4 kB / 0.9893 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.975e-05/1.228, allocations: 23.88 kB / 0.9894 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02706/1.255, allocations: 8.835 MB / 0.998 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/1.255, allocations: 0 / 0.998 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00404/1.259, allocations: 0.7254 MB / 0.9987 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009505/1.26, allocations: 254.4 kB / 0.9989 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004714/1.261, allocations: 75.94 kB / 0.999 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006509/1.267, allocations: 5.246 MB / 1.004 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.267, allocations: 4.031 kB / 1.004 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02144/1.289, allocations: 7.542 MB / 1.012 GB, free: 4.223 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002275/1.291, allocations: 0.7836 MB / 1.012 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009546/1.292, allocations: 59.83 kB / 1.012 GB, free: 3.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003662/1.296, allocations: 391.4 kB / 1.013 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006044/1.296, allocations: 165.9 kB / 1.013 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004227/1.297, allocations: 91.94 kB / 1.013 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003386/1.3, allocations: 1.72 MB / 1.015 GB, free: 0.9883 MB / 0.7794 GB Notification: Performance of sort global known variables: time 7e-08/1.3, allocations: 0 / 1.015 GB, free: 0.9883 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003675/1.304, allocations: 0.978 MB / 1.016 GB, free: 8 kB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (251): * Single equations (assignments): 244 * 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 {(2,16,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.02338/1.327, allocations: 9.029 MB / 1.024 GB, free: 7.262 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01291/1.34, allocations: 4.413 MB / 1.029 GB, free: 2.805 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/1.34, allocations: 0.6875 kB / 1.029 GB, free: 2.805 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.006897/1.347, allocations: 2.47 MB / 1.031 GB, free: 308 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004315/1.351, allocations: 0.6432 MB / 1.032 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06601/1.417, allocations: 27.75 MB / 1.059 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003621/1.421, allocations: 2.378 MB / 1.061 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004261/1.425, allocations: 1.079 MB / 1.062 GB, free: 68 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4158/1.841, allocations: 1.374 MB / 1.064 GB, free: 303.2 MB / 0.8262 GB Notification: Performance of SimCode: time 1.593e-06/1.841, allocations: 0 / 1.064 GB, free: 303.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/1.972, allocations: 67.05 MB / 1.129 GB, free: 263.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.9/19.87, allocations: 6.406 kB / 1.129 GB, free: 263.6 MB / 0.8262 GB " [Timeout remaining time 640] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_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_SimpleRoomOneElement.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 31.09906860999763] Failed to read output from testmodel.py, exit status != 0: 20.111086064993287 20.119578218 19.114358353 Calling exit ...