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.001367/0.001367, allocations: 102.5 kB / 16.45 MB, free: 6.449 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.001487/0.001487, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.541/1.541, allocations: 230.6 MB / 252.8 MB, free: 8.996 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.8462/0.8462, allocations: 133.9 MB / 442.8 MB, free: 11.33 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.001943/0.001943, allocations: 62.19 kB / 0.6134 GB, free: 8.777 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2159, allocations: 85.85 MB / 0.6972 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.6824/0.8983, allocations: 165.3 MB / 0.8587 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.04534/0.9436, allocations: 27.2 MB / 0.8852 GB, free: 7.785 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004025/0.9477, allocations: 107.2 kB / 0.8853 GB, free: 7.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003481/0.9511, allocations: 1.08 MB / 0.8864 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007055/0.9582, allocations: 1.803 MB / 0.8881 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005671/0.9639, allocations: 1.783 MB / 0.8899 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.008502/0.9724, allocations: 5.248 MB / 0.895 GB, free: 13.77 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00739/0.9798, allocations: 3.731 MB / 0.8986 GB, free: 9.965 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005483/0.9852, allocations: 2.229 MB / 0.9008 GB, free: 7.73 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005207/0.9904, allocations: 2.666 MB / 0.9034 GB, free: 5.055 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001978/0.9924, allocations: 491.9 kB / 0.9039 GB, free: 4.574 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004139/0.9966, allocations: 1.132 MB / 0.905 GB, free: 3.441 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002595/0.9992, allocations: 1.266 MB / 0.9062 GB, free: 2.172 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.004904/1.004, allocations: 2.192 MB / 0.9084 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01214/1.016, allocations: 6.309 MB / 0.9145 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.016, allocations: 0 / 0.9145 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.545e-06/1.016, allocations: 0 / 0.9145 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002866/1.016, allocations: 0 / 0.9145 GB, free: 9.637 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.01457/1.031, allocations: 4.904 MB / 0.9193 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/1.031, allocations: 9.109 kB / 0.9193 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001471/1.033, allocations: 484.5 kB / 0.9198 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01756/1.05, allocations: 3.164 MB / 0.9229 GB, free: 0.9922 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005777/1.056, allocations: 2.434 MB / 0.9253 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/1.056, allocations: 258.9 kB / 0.9255 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008674/1.057, allocations: 336 kB / 0.9258 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01343/1.07, allocations: 5.392 MB / 0.9311 GB, free: 8.441 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.025e-05/1.071, allocations: 4 kB / 0.9311 GB, free: 8.438 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004272/1.071, allocations: 140 kB / 0.9312 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.032e-05/1.071, allocations: 84 kB / 0.9313 GB, free: 8.219 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0174/1.088, allocations: 6.527 MB / 0.9377 GB, free: 1.68 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.03611/1.125, allocations: 15.65 MB / 0.953 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/1.135, allocations: 3.854 MB / 0.9567 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006684/1.142, allocations: 2.46 MB / 0.9591 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001294/1.143, allocations: 0.6736 MB / 0.9598 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007477/1.151, allocations: 2.57 MB / 0.9623 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=288): time 5.07e-06/1.151, allocations: 0 / 0.9623 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=288): time 0.03/1.181, allocations: 8.376 MB / 0.9705 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002673/1.181, allocations: 214.2 kB / 0.9707 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007071/1.188, allocations: 2.554 MB / 0.9732 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/1.189, allocations: 81.64 kB / 0.9733 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002096/1.191, allocations: 1.474 MB / 0.9747 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001946/1.193, allocations: 0.9992 MB / 0.9757 GB, free: 9.758 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002241/1.195, allocations: 0.497 MB / 0.9762 GB, free: 9.254 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001537/1.196, allocations: 305.1 kB / 0.9765 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005909/1.202, allocations: 2.034 MB / 0.9784 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006482/1.208, allocations: 2.367 MB / 0.9808 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/1.22, allocations: 4.409 MB / 0.9851 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-05/1.22, allocations: 4 kB / 0.9851 GB, free: 15.96 MB / 0.7637 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01569/1.236, allocations: 5.268 MB / 0.9902 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/1.236, allocations: 4 kB / 0.9902 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/1.236, allocations: 4 kB / 0.9902 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/1.237, allocations: 0.5453 MB / 0.9908 GB, free: 10.09 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004396/1.242, allocations: 0.7839 MB / 0.9915 GB, free: 9.305 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00947/1.251, allocations: 5.733 MB / 0.9971 GB, free: 3.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004438/1.256, allocations: 0.547 MB / 0.9976 GB, free: 2.883 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008395/1.257, allocations: 115.9 kB / 0.9978 GB, free: 2.77 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.00326/1.26, allocations: 0.9657 MB / 0.9987 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001287/1.261, allocations: 310 kB / 0.999 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01684/1.278, allocations: 5.857 MB / 1.005 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-05/1.278, allocations: 32 kB / 1.005 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-05/1.278, allocations: 8 kB / 1.005 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.955e-05/1.278, allocations: 23.88 kB / 1.005 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02422/1.302, allocations: 9.883 MB / 1.014 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.302, allocations: 0 / 1.014 GB, free: 1.504 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003987/1.306, allocations: 0.7449 MB / 1.015 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001581/1.308, allocations: 0.5293 MB / 1.016 GB, free: 224 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004401/1.308, allocations: 79.94 kB / 1.016 GB, free: 144 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01017/1.319, allocations: 7.555 MB / 1.023 GB, free: 8.285 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.319, allocations: 4 kB / 1.023 GB, free: 8.281 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02115/1.34, allocations: 8.388 MB / 1.031 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002293/1.342, allocations: 0.8652 MB / 1.032 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006656/1.343, allocations: 63.94 kB / 1.032 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003215/1.346, allocations: 403.5 kB / 1.033 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006335/1.347, allocations: 190.1 kB / 1.033 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002809/1.347, allocations: 99.92 kB / 1.033 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.003256/1.35, allocations: 1.863 MB / 1.035 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8.1e-08/1.35, allocations: 0 / 1.035 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003781/1.354, allocations: 1.115 MB / 1.036 GB, free: 11.18 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.02627/1.38, allocations: 9.884 MB / 1.045 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.01364/1.394, allocations: 4.909 MB / 1.05 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/1.394, allocations: 4.062 kB / 1.05 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.007414/1.401, allocations: 2.787 MB / 1.053 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004137/1.405, allocations: 0.7257 MB / 1.054 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4757/1.881, allocations: 30.97 MB / 1.084 GB, free: 296.6 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002552/1.884, allocations: 2.561 MB / 1.086 GB, free: 295.6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.003675/1.887, allocations: 1.127 MB / 1.088 GB, free: 295.6 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002115/1.889, allocations: 1.529 MB / 1.089 GB, free: 294.4 MB / 0.8262 GB Notification: Performance of SimCode: time 1.523e-06/1.889, allocations: 0 / 1.089 GB, free: 294.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.12/2.009, allocations: 75.91 MB / 1.163 GB, free: 228.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.03/21.04, allocations: 10.61 kB / 1.163 GB, free: 228.8 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: 31.642040819002432] Failed to read output from testmodel.py, exit status != 0: 21.28399300799356 21.299712984 20.280094192 Calling exit ...