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.001354/0.001354, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001577/0.001577, allocations: 210.1 kB / 22.25 MB, free: 5.262 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.781 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.8752/0.8752, allocations: 134 MB / 446.4 MB, free: 9.918 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.002056/0.002056, allocations: 75.11 kB / 0.6185 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2097, allocations: 85.91 MB / 0.7024 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomFourElements): time 0.5597/0.7694, allocations: 143.9 MB / 0.8429 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.04259/0.812, allocations: 25.22 MB / 0.8675 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005658/0.8177, allocations: 107.2 kB / 0.8676 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003862/0.8215, allocations: 1.15 MB / 0.8688 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007533/0.8291, allocations: 1.96 MB / 0.8707 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006285/0.8353, allocations: 1.994 MB / 0.8726 GB, free: 4.543 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.009444/0.8448, allocations: 5.916 MB / 0.8784 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007953/0.8527, allocations: 3.547 MB / 0.8819 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005959/0.8587, allocations: 2.41 MB / 0.8842 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005834/0.8645, allocations: 2.904 MB / 0.887 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.002241/0.8668, allocations: 0.5234 MB / 0.8876 GB, free: 5.141 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003851/0.8706, allocations: 1.109 MB / 0.8886 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002693/0.8733, allocations: 1.387 MB / 0.89 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004936/0.8782, allocations: 1.944 MB / 0.8919 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01448/0.8927, allocations: 6.895 MB / 0.8986 GB, free: 9.773 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/0.8927, allocations: 4 kB / 0.8986 GB, free: 9.77 MB / 0.67 GB Notification: Performance of FrontEnd: time 3.026e-06/0.8927, allocations: 0 / 0.8986 GB, free: 9.77 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0003433/0.8931, allocations: 0 / 0.8986 GB, free: 9.77 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01689/0.91, allocations: 5.192 MB / 0.9037 GB, free: 4.512 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.91, allocations: 12.03 kB / 0.9037 GB, free: 4.5 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001726/0.9118, allocations: 0.5065 MB / 0.9042 GB, free: 3.984 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01762/0.9294, allocations: 3.211 MB / 0.9073 GB, free: 0.7656 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007268/0.9366, allocations: 2.529 MB / 0.9098 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003566/0.937, allocations: 283.5 kB / 0.9101 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/0.9386, allocations: 368 kB / 0.9104 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01729/0.9558, allocations: 6.07 MB / 0.9164 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-05/0.9559, allocations: 3.938 kB / 0.9164 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004741/0.9564, allocations: 156 kB / 0.9165 GB, free: 7.168 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.889e-05/0.9565, allocations: 91.75 kB / 0.9166 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01781/0.9743, allocations: 6.791 MB / 0.9232 GB, free: 288 kB / 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.03316/1.007, allocations: 13.47 MB / 0.9364 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/1.018, allocations: 4.213 MB / 0.9405 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006503/1.025, allocations: 2.717 MB / 0.9431 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000756/1.026, allocations: 130.3 kB / 0.9433 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006726/1.032, allocations: 2.859 MB / 0.9461 GB, free: 8.695 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=315): time 7.525e-06/1.032, allocations: 3.938 kB / 0.9461 GB, free: 8.691 MB / 0.7169 GB Notification: Performance of matching and sorting (n=315): time 0.02687/1.059, allocations: 9.381 MB / 0.9552 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/1.059, allocations: 210.4 kB / 0.9554 GB, free: 15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004254/1.064, allocations: 2.718 MB / 0.9581 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000686/1.064, allocations: 81.7 kB / 0.9582 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001693/1.066, allocations: 1.573 MB / 0.9597 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001607/1.068, allocations: 1.108 MB / 0.9608 GB, free: 9.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001116/1.069, allocations: 0.529 MB / 0.9613 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001283/1.069, allocations: 305.1 kB / 0.9616 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005143/1.074, allocations: 2.16 MB / 0.9637 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006176/1.08, allocations: 2.776 MB / 0.9664 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/1.091, allocations: 4.687 MB / 0.971 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/1.091, allocations: 4 kB / 0.971 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of matching and sorting (n=347) (initialization): time 0.01434/1.106, allocations: 5.738 MB / 0.9766 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/1.106, allocations: 8 kB / 0.9766 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.106, allocations: 4 kB / 0.9766 GB, free: 8.984 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001942/1.108, allocations: 0.8259 MB / 0.9774 GB, free: 8.156 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004459/1.112, allocations: 0.7995 MB / 0.9782 GB, free: 7.355 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/1.124, allocations: 7.335 MB / 0.9854 GB, free: 15.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00461/1.129, allocations: 0.5679 MB / 0.9859 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007033/1.129, allocations: 115.9 kB / 0.986 GB, free: 15.21 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 (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.002931/1.132, allocations: 1.028 MB / 0.987 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/1.133, allocations: 329.9 kB / 0.9873 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01505/1.148, allocations: 6.384 MB / 0.9936 GB, free: 7.406 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.451e-05/1.148, allocations: 31.98 kB / 0.9936 GB, free: 7.375 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/1.148, allocations: 12 kB / 0.9936 GB, free: 7.363 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.688e-05/1.148, allocations: 15.94 kB / 0.9936 GB, free: 7.348 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02386/1.172, allocations: 10.19 MB / 1.004 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.244e-05/1.172, allocations: 96 / 1.004 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004066/1.176, allocations: 0.78 MB / 1.004 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001913/1.178, allocations: 0.7301 MB / 1.005 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004762/1.179, allocations: 83.94 kB / 1.005 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01275/1.192, allocations: 10.22 MB / 1.015 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.192, allocations: 7.984 kB / 1.015 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02026/1.212, allocations: 9.095 MB / 1.024 GB, free: 7.664 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002611/1.214, allocations: 0.8582 MB / 1.025 GB, free: 6.805 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005688/1.215, allocations: 79.86 kB / 1.025 GB, free: 6.727 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003062/1.218, allocations: 401.6 kB / 1.025 GB, free: 6.336 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005719/1.219, allocations: 230.1 kB / 1.026 GB, free: 6.109 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002611/1.219, allocations: 103.9 kB / 1.026 GB, free: 6.008 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002859/1.222, allocations: 1.972 MB / 1.028 GB, free: 4.031 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/1.222, allocations: 0 / 1.028 GB, free: 4.031 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003256/1.225, allocations: 1.232 MB / 1.029 GB, free: 2.797 MB / 0.795 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 (273): * Single equations (assignments): 265 * 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.02368/1.249, allocations: 10.64 MB / 1.039 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0182/1.267, allocations: 5.313 MB / 1.044 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/1.267, allocations: 0 / 1.044 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.01152/1.278, allocations: 3.154 MB / 1.047 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006067/1.284, allocations: 0.7827 MB / 1.048 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4894/1.774, allocations: 33.43 MB / 1.081 GB, free: 295.8 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00367/1.778, allocations: 2.169 MB / 1.083 GB, free: 295.3 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00437/1.782, allocations: 1.16 MB / 1.084 GB, free: 295.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002636/1.785, allocations: 1.661 MB / 1.086 GB, free: 294 MB / 0.8262 GB Notification: Performance of SimCode: time 1.453e-06/1.785, allocations: 0 / 1.086 GB, free: 294 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1529/1.937, allocations: 87.2 MB / 1.171 GB, free: 219.2 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.51/19.45, allocations: 3.438 kB / 1.171 GB, free: 219.2 MB / 0.8262 GB " [Timeout remaining time 640] (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 os._exit(0), Time elapsed: 23.496118621900678] Failed to read output from testmodel.py, exit status != 0: 19.727816035039723 19.746874932 18.850012581 Calling exit ...