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.001438/0.001438, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001546/0.001546, allocations: 212.8 kB / 22.24 MB, free: 5.242 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.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.801 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.8631/0.8631, allocations: 134 MB / 446.4 MB, free: 9.93 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.002044/0.002044, allocations: 71.31 kB / 0.6185 GB, free: 6.895 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1783, allocations: 85.91 MB / 0.7024 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomThreeElements): time 0.628/0.8063, allocations: 142.7 MB / 0.8418 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03811/0.8444, allocations: 24.82 MB / 0.866 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003618/0.8481, allocations: 103.2 kB / 0.8661 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002949/0.851, allocations: 1.08 MB / 0.8672 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006038/0.8571, allocations: 1.826 MB / 0.8689 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005042/0.8621, allocations: 1.812 MB / 0.8707 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008258/0.8704, allocations: 5.276 MB / 0.8759 GB, free: 1.277 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005916/0.8763, allocations: 3.3 MB / 0.8791 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004884/0.8812, allocations: 2.229 MB / 0.8813 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004861/0.886, allocations: 2.682 MB / 0.8839 GB, free: 8.977 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001133/0.8871, allocations: 488 kB / 0.8843 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002628/0.8898, allocations: 1.066 MB / 0.8854 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001303/0.8911, allocations: 1.258 MB / 0.8866 GB, free: 6.172 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002608/0.8937, allocations: 1.777 MB / 0.8883 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008877/0.9026, allocations: 6.335 MB / 0.8945 GB, free: 14.04 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.9026, allocations: 0 / 0.8945 GB, free: 14.04 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9026, allocations: 0 / 0.8945 GB, free: 14.04 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001591/0.9027, allocations: 0 / 0.8945 GB, free: 14.04 MB / 0.67 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.0116/0.9143, allocations: 4.833 MB / 0.8993 GB, free: 9.145 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.9144, allocations: 11.97 kB / 0.8993 GB, free: 9.133 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000785/0.9152, allocations: 480.6 kB / 0.8997 GB, free: 8.652 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01663/0.9318, allocations: 3.164 MB / 0.9028 GB, free: 5.48 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006293/0.9381, allocations: 2.386 MB / 0.9051 GB, free: 3.031 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/0.9383, allocations: 262.8 kB / 0.9054 GB, free: 2.773 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/0.9394, allocations: 336 kB / 0.9057 GB, free: 2.445 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01373/0.9531, allocations: 5.723 MB / 0.9113 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.983e-05/0.9532, allocations: 4 kB / 0.9113 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004254/0.9536, allocations: 136 kB / 0.9114 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.318e-05/0.9537, allocations: 84 kB / 0.9115 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01706/0.9708, allocations: 6.473 MB / 0.9178 GB, free: 5.867 MB / 0.6856 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.03009/1.001, allocations: 12.52 MB / 0.9301 GB, free: 9.211 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009497/1.01, allocations: 3.841 MB / 0.9338 GB, free: 5.363 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006036/1.016, allocations: 2.464 MB / 0.9362 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008023/1.017, allocations: 138.2 kB / 0.9364 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0068/1.024, allocations: 2.706 MB / 0.939 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=288): time 6.111e-06/1.024, allocations: 0 / 0.939 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=288): time 0.02367/1.048, allocations: 8.152 MB / 0.947 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/1.048, allocations: 214.2 kB / 0.9472 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004328/1.052, allocations: 2.57 MB / 0.9497 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008241/1.053, allocations: 77.7 kB / 0.9497 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001738/1.055, allocations: 1.478 MB / 0.9512 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001661/1.056, allocations: 1.007 MB / 0.9522 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/1.057, allocations: 0.497 MB / 0.9527 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001536/1.058, allocations: 305.1 kB / 0.9529 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005313/1.063, allocations: 2.038 MB / 0.9549 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00571/1.069, allocations: 2.576 MB / 0.9575 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/1.079, allocations: 4.417 MB / 0.9618 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.467e-05/1.079, allocations: 4 kB / 0.9618 GB, free: 8.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.01355/1.093, allocations: 5.264 MB / 0.9669 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/1.093, allocations: 9.875 kB / 0.9669 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/1.093, allocations: 4 kB / 0.9669 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/1.094, allocations: 0.5491 MB / 0.9675 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004286/1.099, allocations: 0.78 MB / 0.9682 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009004/1.108, allocations: 5.536 MB / 0.9736 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004527/1.112, allocations: 0.5485 MB / 0.9742 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006769/1.113, allocations: 111.9 kB / 0.9743 GB, free: 11.29 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 (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.002846/1.116, allocations: 0.9657 MB / 0.9752 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009168/1.117, allocations: 310 kB / 0.9755 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01515/1.132, allocations: 5.895 MB / 0.9813 GB, free: 4.055 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.855e-05/1.132, allocations: 32 kB / 0.9813 GB, free: 4.023 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/1.132, allocations: 4 kB / 0.9813 GB, free: 4.02 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.842e-05/1.132, allocations: 19.88 kB / 0.9813 GB, free: 4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0233/1.155, allocations: 9.411 MB / 0.9905 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/1.155, allocations: 0 / 0.9905 GB, free: 10.48 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004121/1.159, allocations: 0.7527 MB / 0.9912 GB, free: 9.73 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001551/1.161, allocations: 0.5293 MB / 0.9918 GB, free: 9.191 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004677/1.161, allocations: 79.94 kB / 0.9918 GB, free: 9.113 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/1.172, allocations: 7.251 MB / 0.9989 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.172, allocations: 4 kB / 0.9989 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02309/1.195, allocations: 8.44 MB / 1.007 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00319/1.198, allocations: 0.8154 MB / 1.008 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001176/1.199, allocations: 63.89 kB / 1.008 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003972/1.203, allocations: 401.5 kB / 1.008 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008874/1.204, allocations: 202 kB / 1.009 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006929/1.205, allocations: 103.9 kB / 1.009 GB, free: 7.504 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.004106/1.209, allocations: 1.874 MB / 1.011 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.5e-07/1.209, allocations: 0 / 1.011 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.004605/1.213, allocations: 1.118 MB / 1.012 GB, free: 4.5 MB / 0.7794 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 (263): * Single equations (assignments): 256 * 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.02702/1.24, allocations: 9.988 MB / 1.021 GB, free: 10.86 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01357/1.254, allocations: 4.925 MB / 1.026 GB, free: 5.891 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/1.254, allocations: 0 / 1.026 GB, free: 5.891 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.007483/1.261, allocations: 2.819 MB / 1.029 GB, free: 3.043 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004915/1.266, allocations: 0.7205 MB / 1.03 GB, free: 2.359 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07838/1.345, allocations: 31.04 MB / 1.06 GB, free: 2.996 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003871/1.349, allocations: 2.027 MB / 1.062 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.4132/1.762, allocations: 1.119 MB / 1.063 GB, free: 301.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003867/1.766, allocations: 1.538 MB / 1.065 GB, free: 301.4 MB / 0.8262 GB Notification: Performance of SimCode: time 1.623e-06/1.766, allocations: 1.438 kB / 1.065 GB, free: 301.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1408/1.906, allocations: 79.98 MB / 1.143 GB, free: 248.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.02/18.93, allocations: 18.03 kB / 1.143 GB, free: 248.4 MB / 0.8262 GB " [Timeout remaining time 641] (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 os._exit(0), Time elapsed: 22.888809249270707] Failed to read output from testmodel.py, exit status != 0: 19.198873991146684 19.214791909 18.30890775 Calling exit ...