Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.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.001278/0.001278, allocations: 110.4 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.001387/0.001387, allocations: 217.2 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.493/1.493, 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.895/0.895, allocations: 134 MB / 446.4 MB, free: 10.22 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.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomTwoElements",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.002007/0.002007, allocations: 69.48 kB / 0.6185 GB, free: 7.238 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2005, allocations: 85.9 MB / 0.7024 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements): time 0.6136/0.8141, allocations: 164.6 MB / 0.8631 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03656/0.8507, allocations: 27.1 MB / 0.8896 GB, free: 6.738 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003888/0.8545, allocations: 99.25 kB / 0.8897 GB, free: 6.641 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003022/0.8576, allocations: 1.034 MB / 0.8907 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005558/0.8631, allocations: 1.74 MB / 0.8924 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004804/0.8679, allocations: 1.748 MB / 0.8941 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007754/0.8757, allocations: 4.886 MB / 0.8989 GB, free: 13.22 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005089/0.8808, allocations: 3.11 MB / 0.9019 GB, free: 10.05 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00445/0.8852, allocations: 2.114 MB / 0.904 GB, free: 7.93 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00443/0.8897, allocations: 2.518 MB / 0.9064 GB, free: 5.402 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.8907, allocations: 455.9 kB / 0.9069 GB, free: 4.957 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002792/0.8935, allocations: 1.108 MB / 0.908 GB, free: 3.848 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001248/0.8948, allocations: 1.188 MB / 0.9091 GB, free: 2.656 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002974/0.8978, allocations: 2.037 MB / 0.9111 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.009843/0.9076, allocations: 5.895 MB / 0.9169 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.043e-05/0.9076, allocations: 0 / 0.9169 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9076, allocations: 0 / 0.9169 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002167/0.9078, allocations: 0 / 0.9169 GB, free: 10.7 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01243/0.9203, allocations: 4.577 MB / 0.9213 GB, free: 6.055 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.9203, allocations: 8.031 kB / 0.9213 GB, free: 6.047 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006751/0.921, allocations: 459.1 kB / 0.9218 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01658/0.9376, allocations: 3.145 MB / 0.9249 GB, free: 2.434 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005779/0.9433, allocations: 2.278 MB / 0.9271 GB, free: 96 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002557/0.9436, allocations: 246.5 kB / 0.9273 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009636/0.9446, allocations: 320 kB / 0.9276 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01202/0.9566, allocations: 5.136 MB / 0.9326 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.906e-05/0.9566, allocations: 0 / 0.9326 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003669/0.957, allocations: 136 kB / 0.9328 GB, free: 10.19 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.466e-05/0.9571, allocations: 79.94 kB / 0.9328 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01536/0.9724, allocations: 6.292 MB / 0.939 GB, free: 3.805 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.02834/1.001, allocations: 14.4 MB / 0.9531 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01123/1.012, allocations: 4.301 MB / 0.9573 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005989/1.018, allocations: 2.282 MB / 0.9595 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007845/1.019, allocations: 157.9 kB / 0.9596 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006481/1.025, allocations: 2.461 MB / 0.962 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=270): time 7.043e-06/1.025, allocations: 0 / 0.962 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=270): time 0.0212/1.046, allocations: 7.299 MB / 0.9692 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001728/1.047, allocations: 218 kB / 0.9694 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004023/1.051, allocations: 2.43 MB / 0.9717 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0006116/1.051, allocations: 73.81 kB / 0.9718 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001609/1.053, allocations: 1.406 MB / 0.9732 GB, free: 36 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001511/1.054, allocations: 0.9297 MB / 0.9741 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009444/1.055, allocations: 484.4 kB / 0.9746 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001808/1.056, allocations: 304.9 kB / 0.9748 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004896/1.06, allocations: 1.948 MB / 0.9768 GB, free: 12.36 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005627/1.066, allocations: 2.273 MB / 0.979 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/1.077, allocations: 4.195 MB / 0.9831 GB, free: 5.711 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.721e-05/1.077, allocations: 4 kB / 0.9831 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of matching and sorting (n=300) (initialization): time 0.01336/1.091, allocations: 4.908 MB / 0.9879 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.561e-05/1.091, allocations: 11.98 kB / 0.9879 GB, free: 0.7344 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/1.091, allocations: 4.938 kB / 0.9879 GB, free: 0.7305 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009226/1.091, allocations: 344.8 kB / 0.9882 GB, free: 400 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004236/1.096, allocations: 0.7683 MB / 0.989 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006535/1.102, allocations: 4.153 MB / 0.993 GB, free: 11.36 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004268/1.107, allocations: 0.5252 MB / 0.9935 GB, free: 10.83 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004954/1.107, allocations: 107.9 kB / 0.9936 GB, free: 10.73 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 (270): * Single equations (assignments): 269 * 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 {(3,28,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00228/1.109, allocations: 0.9304 MB / 0.9945 GB, free: 9.785 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008172/1.11, allocations: 290.1 kB / 0.9948 GB, free: 9.5 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01408/1.124, allocations: 5.531 MB / 1 GB, free: 3.906 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/1.124, allocations: 32 kB / 1 GB, free: 3.875 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.124, allocations: 4 kB / 1 GB, free: 3.871 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.865e-05/1.124, allocations: 15.94 kB / 1 GB, free: 3.855 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02247/1.147, allocations: 9.326 MB / 1.009 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/1.147, allocations: 0 / 1.009 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004205/1.151, allocations: 0.7332 MB / 1.01 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/1.152, allocations: 386.5 kB / 1.01 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004442/1.153, allocations: 79.94 kB / 1.011 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007608/1.16, allocations: 6.102 MB / 1.016 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/1.16, allocations: 3.938 kB / 1.016 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01984/1.18, allocations: 7.917 MB / 1.024 GB, free: 10.85 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00252/1.183, allocations: 0.7648 MB / 1.025 GB, free: 10.08 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006661/1.183, allocations: 63.89 kB / 1.025 GB, free: 10.02 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003174/1.186, allocations: 391.4 kB / 1.025 GB, free: 9.633 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004472/1.187, allocations: 189.8 kB / 1.026 GB, free: 9.445 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002652/1.187, allocations: 95.92 kB / 1.026 GB, free: 9.352 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002995/1.19, allocations: 1.773 MB / 1.027 GB, free: 7.566 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/1.19, allocations: 0 / 1.027 GB, free: 7.566 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.004349/1.194, allocations: 1.037 MB / 1.028 GB, free: 6.527 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.volAir.dynBal.U,thermalZoneTwoElements.volAir.dynBal.m,thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[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 (254): * Single equations (assignments): 247 * 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 {(3,25,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.02334/1.218, allocations: 9.406 MB / 1.038 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01334/1.231, allocations: 4.628 MB / 1.042 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.231, allocations: 0 / 1.042 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.00668/1.238, allocations: 2.625 MB / 1.045 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003735/1.242, allocations: 0.6709 MB / 1.045 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4325/1.674, allocations: 29.14 MB / 1.074 GB, free: 302.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002997/1.677, allocations: 2.46 MB / 1.076 GB, free: 301.7 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.004626/1.682, allocations: 1.105 MB / 1.077 GB, free: 301.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002917/1.685, allocations: 1.452 MB / 1.079 GB, free: 300.8 MB / 0.8262 GB Notification: Performance of SimCode: time 1.533e-06/1.685, allocations: 2.25 kB / 1.079 GB, free: 300.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1313/1.816, allocations: 72.7 MB / 1.15 GB, free: 248.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.53/21.34, allocations: 4.062 kB / 1.15 GB, free: 248.4 MB / 0.8262 GB " [Timeout remaining time 638] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements_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_SimpleRoomTwoElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomTwoElements.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 32.57768022100208] Failed to read output from testmodel.py, exit status != 0: 21.613000407000072 21.623925721 20.713697405 Calling exit ...