Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.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.001419/0.001419, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00158/0.00158, allocations: 215.1 kB / 22.26 MB, free: 5.082 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 8.027 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.8494/0.8494, allocations: 134 MB / 446.4 MB, free: 10.26 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.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomFourElements",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.001975/0.001975, allocations: 68.53 kB / 0.6185 GB, free: 7.285 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1729, allocations: 85.9 MB / 0.7024 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.596/0.7689, allocations: 166.9 MB / 0.8654 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04283/0.8117, allocations: 27.77 MB / 0.8925 GB, free: 3.824 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004473/0.8162, allocations: 111.2 kB / 0.8926 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003533/0.8198, allocations: 1.154 MB / 0.8938 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00663/0.8264, allocations: 1.971 MB / 0.8957 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006249/0.8326, allocations: 2.048 MB / 0.8977 GB, free: 14.54 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009813/0.8424, allocations: 5.931 MB / 0.9035 GB, free: 8.602 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006702/0.8491, allocations: 3.582 MB / 0.907 GB, free: 4.941 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006275/0.8554, allocations: 2.409 MB / 0.9093 GB, free: 2.527 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006022/0.8614, allocations: 2.915 MB / 0.9122 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001956/0.8634, allocations: 0.5273 MB / 0.9127 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004482/0.8679, allocations: 1.194 MB / 0.9139 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002255/0.8701, allocations: 1.371 MB / 0.9152 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004126/0.8743, allocations: 2.398 MB / 0.9175 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01141/0.8857, allocations: 6.856 MB / 0.9242 GB, free: 3.219 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.587e-06/0.8857, allocations: 3.984 kB / 0.9242 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8857, allocations: 4 kB / 0.9242 GB, free: 3.211 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002326/0.8859, allocations: 0 / 0.9242 GB, free: 3.211 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01707/0.903, allocations: 5.196 MB / 0.9293 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 7.853e-05/0.9031, allocations: 8.031 kB / 0.9293 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001342/0.9044, allocations: 0.5065 MB / 0.9298 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01754/0.9219, allocations: 3.211 MB / 0.933 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007952/0.9299, allocations: 2.54 MB / 0.9354 GB, free: 7.605 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.9302, allocations: 279.5 kB / 0.9357 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009614/0.9311, allocations: 368 kB / 0.9361 GB, free: 6.973 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.9443, allocations: 5.728 MB / 0.9417 GB, free: 1.184 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.569e-05/0.9443, allocations: 4 kB / 0.9417 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004028/0.9448, allocations: 152 kB / 0.9418 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-05/0.9448, allocations: 95.94 kB / 0.9419 GB, free: 0.9375 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01782/0.9627, allocations: 6.854 MB / 0.9486 GB, free: 10.07 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.03786/1.001, allocations: 17.23 MB / 0.9654 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01029/1.011, allocations: 4.223 MB / 0.9695 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006218/1.017, allocations: 2.713 MB / 0.9722 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008264/1.018, allocations: 158.2 kB / 0.9723 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006855/1.025, allocations: 2.721 MB / 0.975 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=315): time 5.561e-06/1.025, allocations: 0 / 0.975 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of matching and sorting (n=315): time 0.02775/1.052, allocations: 9.375 MB / 0.9842 GB, free: 4.777 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/1.053, allocations: 218.4 kB / 0.9844 GB, free: 4.52 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00442/1.057, allocations: 2.691 MB / 0.987 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0008344/1.058, allocations: 77.7 kB / 0.9871 GB, free: 1.734 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001764/1.06, allocations: 1.592 MB / 0.9886 GB, free: 132 kB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001999/1.062, allocations: 1.092 MB / 0.9897 GB, free: 15.03 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001202/1.063, allocations: 0.5251 MB / 0.9902 GB, free: 14.5 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.063, allocations: 305.1 kB / 0.9905 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005399/1.068, allocations: 2.156 MB / 0.9926 GB, free: 12.04 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006044/1.074, allocations: 2.525 MB / 0.9951 GB, free: 9.422 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01164/1.086, allocations: 4.687 MB / 0.9996 GB, free: 4.652 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/1.086, allocations: 0 / 0.9996 GB, free: 4.652 MB / 0.7637 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01436/1.1, allocations: 5.734 MB / 1.005 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/1.1, allocations: 6.5 kB / 1.005 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/1.1, allocations: 4 kB / 1.005 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001872/1.102, allocations: 0.8375 MB / 1.006 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004244/1.107, allocations: 0.7996 MB / 1.007 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01159/1.118, allocations: 7.467 MB / 1.014 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004517/1.123, allocations: 0.5679 MB / 1.015 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007041/1.123, allocations: 119.9 kB / 1.015 GB, free: 4.949 MB / 0.7794 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 (283): * Single equations (assignments): 282 * 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 {(5,60,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002853/1.126, allocations: 1.024 MB / 1.016 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009918/1.127, allocations: 325.9 kB / 1.016 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01619/1.143, allocations: 6.363 MB / 1.022 GB, free: 13.17 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.564e-05/1.143, allocations: 32 kB / 1.022 GB, free: 13.14 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/1.143, allocations: 8 kB / 1.022 GB, free: 13.13 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.114e-05/1.144, allocations: 15.94 kB / 1.022 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0256/1.169, allocations: 10.73 MB / 1.033 GB, free: 2.25 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/1.169, allocations: 0 / 1.033 GB, free: 2.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004293/1.173, allocations: 0.7684 MB / 1.034 GB, free: 1.48 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/1.175, allocations: 0.7379 MB / 1.034 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006644/1.176, allocations: 87.92 kB / 1.034 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/1.19, allocations: 10.36 MB / 1.045 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.19, allocations: 7.922 kB / 1.045 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0225/1.212, allocations: 9.047 MB / 1.053 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003139/1.215, allocations: 0.866 MB / 1.054 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009378/1.216, allocations: 75.88 kB / 1.054 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003428/1.22, allocations: 395.4 kB / 1.055 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00053/1.22, allocations: 234 kB / 1.055 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002691/1.221, allocations: 103.9 kB / 1.055 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.003221/1.224, allocations: 1.964 MB / 1.057 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/1.224, allocations: 0 / 1.057 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004318/1.228, allocations: 1.224 MB / 1.058 GB, free: 7.914 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (thermalZoneFourElements.volAir.dynBal.U,thermalZoneFourElements.volAir.dynBal.m,thermalZoneFourElements.extWallRC.thermCapExt[1].T,thermalZoneFourElements.intWallRC.thermCapInt[1].T,thermalZoneFourElements.floorRC.thermCapExt[1].T,thermalZoneFourElements.roofRC.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 (270): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,49,100.0%), (1,3,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.4204/1.649, allocations: 10.55 MB / 1.068 GB, free: 301.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01349/1.662, allocations: 5.307 MB / 1.074 GB, free: 301.1 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.662, allocations: 1.625 kB / 1.074 GB, free: 301.1 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.007486/1.669, allocations: 3.148 MB / 1.077 GB, free: 299.9 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00397/1.673, allocations: 0.7761 MB / 1.077 GB, free: 299.6 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06405/1.738, allocations: 33.4 MB / 1.11 GB, free: 287 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001987/1.74, allocations: 2.707 MB / 1.113 GB, free: 284.3 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00391/1.743, allocations: 1.168 MB / 1.114 GB, free: 283.1 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002754/1.746, allocations: 1.647 MB / 1.115 GB, free: 281.5 MB / 0.8262 GB Notification: Performance of SimCode: time 1.502e-06/1.746, allocations: 0 / 1.115 GB, free: 281.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1283/1.875, allocations: 84.97 MB / 1.198 GB, free: 196.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.91/21.79, allocations: 6.5 kB / 1.198 GB, free: 196.9 MB / 0.8262 GB " [Timeout remaining time 638] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements_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_SimpleRoomFourElements.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 33.52012992599339] Failed to read output from testmodel.py, exit status != 0: 22.06207214599999 22.073141197 21.184727399 Calling exit ...