Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.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.001303/0.001303, allocations: 110.6 kB / 18.94 MB, free: 2.789 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.001434/0.001434, allocations: 219.5 kB / 22.26 MB, free: 5.219 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.449/1.449, allocations: 230.6 MB / 256 MB, free: 8.023 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.8612/0.8612, allocations: 134 MB / 446.4 MB, free: 10.25 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.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement,fileNamePrefix="IDEAS_IDEAS_ThermalZones_ReducedOrder_Examples_SimpleRoomOneElement",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.002023/0.002023, allocations: 68.92 kB / 0.6185 GB, free: 7.254 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1829, allocations: 85.91 MB / 0.7024 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement): time 0.564/0.7469, allocations: 163.9 MB / 0.8625 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03693/0.7838, allocations: 26.92 MB / 0.8888 GB, free: 7.645 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002758/0.7866, allocations: 95.25 kB / 0.8889 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002558/0.7891, allocations: 0.9947 MB / 0.8898 GB, free: 6.551 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005146/0.7943, allocations: 1.69 MB / 0.8915 GB, free: 4.855 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00458/0.7989, allocations: 1.677 MB / 0.8931 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00663/0.8055, allocations: 4.622 MB / 0.8976 GB, free: 14.55 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004693/0.8102, allocations: 2.999 MB / 0.9006 GB, free: 11.48 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004108/0.8143, allocations: 2.032 MB / 0.9026 GB, free: 9.449 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00528/0.8196, allocations: 2.409 MB / 0.9049 GB, free: 7.031 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001234/0.8208, allocations: 431.9 kB / 0.9053 GB, free: 6.609 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002946/0.8238, allocations: 1.089 MB / 0.9064 GB, free: 5.52 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001428/0.8252, allocations: 1.118 MB / 0.9075 GB, free: 4.398 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002748/0.8279, allocations: 1.943 MB / 0.9094 GB, free: 2.445 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007925/0.8359, allocations: 5.599 MB / 0.9148 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.8359, allocations: 0 / 0.9148 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.392e-06/0.8359, allocations: 4 kB / 0.9149 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001357/0.836, allocations: 4 kB / 0.9149 GB, free: 12.82 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: 790 * Number of variables: 790 Notification: Performance of Generate backend data structure: time 0.01059/0.8466, allocations: 4.369 MB / 0.9191 GB, free: 8.391 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/0.8466, allocations: 16.02 kB / 0.9191 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007454/0.8474, allocations: 434.2 kB / 0.9196 GB, free: 7.938 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01683/0.8642, allocations: 3.125 MB / 0.9226 GB, free: 4.805 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005692/0.8699, allocations: 2.199 MB / 0.9247 GB, free: 2.539 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.8701, allocations: 230.2 kB / 0.925 GB, free: 2.312 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007491/0.8709, allocations: 300 kB / 0.9253 GB, free: 2.02 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01205/0.8829, allocations: 4.967 MB / 0.9301 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.245e-05/0.883, allocations: 0 / 0.9301 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003473/0.8834, allocations: 124 kB / 0.9302 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-05/0.8834, allocations: 79.94 kB / 0.9303 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/0.8982, allocations: 6.114 MB / 0.9363 GB, free: 6.645 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.03063/0.9288, allocations: 13.53 MB / 0.9495 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01063/0.9394, allocations: 4.147 MB / 0.9535 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005629/0.9451, allocations: 2.159 MB / 0.9556 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007103/0.9458, allocations: 145.9 kB / 0.9558 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005609/0.9514, allocations: 2.379 MB / 0.9581 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=257): time 4.909e-06/0.9514, allocations: 0 / 0.9581 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=257): time 0.01752/0.9689, allocations: 6.711 MB / 0.9647 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/0.9691, allocations: 213.9 kB / 0.9649 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003707/0.9728, allocations: 2.348 MB / 0.9672 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005643/0.9733, allocations: 69.7 kB / 0.9672 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001379/0.9747, allocations: 1.34 MB / 0.9685 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001144/0.9759, allocations: 0.8986 MB / 0.9694 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009369/0.9768, allocations: 464 kB / 0.9699 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.977, allocations: 301.1 kB / 0.9701 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004755/0.9817, allocations: 1.87 MB / 0.972 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005243/0.987, allocations: 2.186 MB / 0.9741 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/0.9971, allocations: 4.037 MB / 0.978 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/0.9971, allocations: 4 kB / 0.978 GB, free: 11 MB / 0.7481 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.01238/1.009, allocations: 4.66 MB / 0.9826 GB, free: 6.289 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/1.01, allocations: 8 kB / 0.9826 GB, free: 6.281 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/1.01, allocations: 8 kB / 0.9826 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006913/1.01, allocations: 235.9 kB / 0.9828 GB, free: 6.043 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004077/1.014, allocations: 0.7644 MB / 0.9836 GB, free: 5.277 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004862/1.019, allocations: 3.271 MB / 0.9868 GB, free: 1.902 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004122/1.023, allocations: 0.5292 MB / 0.9873 GB, free: 1.371 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006981/1.024, allocations: 95.92 kB / 0.9874 GB, free: 1.277 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 (264): * Single equations (assignments): 263 * 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 {(2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002714/1.027, allocations: 0.8916 MB / 0.9883 GB, free: 384 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009245/1.028, allocations: 278.2 kB / 0.9885 GB, free: 104 kB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01373/1.041, allocations: 5.25 MB / 0.9936 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-05/1.041, allocations: 31.94 kB / 0.9937 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/1.041, allocations: 8 kB / 0.9937 GB, free: 10.74 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.68e-05/1.041, allocations: 23.97 kB / 0.9937 GB, free: 10.71 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01979/1.061, allocations: 8.849 MB / 1.002 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.388e-06/1.061, allocations: 0 / 1.002 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003756/1.065, allocations: 0.7254 MB / 1.003 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008686/1.066, allocations: 268.7 kB / 1.003 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003711/1.066, allocations: 71.92 kB / 1.003 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005833/1.072, allocations: 5.023 MB / 1.008 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.072, allocations: 112 / 1.008 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01906/1.091, allocations: 7.542 MB / 1.016 GB, free: 3.773 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002548/1.094, allocations: 0.7375 MB / 1.016 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000673/1.094, allocations: 55.89 kB / 1.016 GB, free: 2.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003124/1.097, allocations: 387.4 kB / 1.017 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004228/1.098, allocations: 177.8 kB / 1.017 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002406/1.098, allocations: 99.92 kB / 1.017 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.002759/1.101, allocations: 1.72 MB / 1.019 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/1.101, allocations: 0 / 1.019 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002966/1.104, allocations: 0.9741 MB / 1.02 GB, free: 15.61 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneOneElement.volAir.dynBal.U,thermalZoneOneElement.volAir.dynBal.m,thermalZoneOneElement.extWallRC.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 (251): * Single equations (assignments): 244 * 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 {(2,16,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.02118/1.125, allocations: 9.013 MB / 1.028 GB, free: 6.875 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.137, allocations: 4.42 MB / 1.033 GB, free: 2.406 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.137, allocations: 4.688 kB / 1.033 GB, free: 2.402 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.006158/1.143, allocations: 2.471 MB / 1.035 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/1.146, allocations: 0.6536 MB / 1.036 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06177/1.208, allocations: 27.78 MB / 1.063 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002531/1.211, allocations: 2.379 MB / 1.065 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.5033/1.714, allocations: 1.068 MB / 1.066 GB, free: 161.4 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00271/1.717, allocations: 1.374 MB / 1.068 GB, free: 161.4 MB / 0.8262 GB Notification: Performance of SimCode: time 1.223e-06/1.717, allocations: 0.6562 kB / 1.068 GB, free: 161.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.134/1.851, allocations: 68.93 MB / 1.135 GB, free: 125.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.75/20.6, allocations: 16.58 kB / 1.135 GB, free: 125.4 MB / 0.8262 GB " [Timeout remaining time 639] (rm -f IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; mkfifo IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe ; head -c 1048576 < IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe >> ../files/IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement_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_SimpleRoomOneElement.fmu > IDEAS_IDEAS.ThermalZones.ReducedOrder.Examples.SimpleRoomOneElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 32.327192545999424] Failed to read output from testmodel.py, exit status != 0: 20.866174035996664 20.891132048 20.050310517 Calling exit ...