Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.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.001306/0.001306, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001435/0.001435, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.431/1.431, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.851/0.851, allocations: 134 MB / 442.8 MB, free: 11.32 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.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation",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.001973/0.001973, allocations: 74.72 kB / 0.6134 GB, free: 8.734 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1523, allocations: 85.85 MB / 0.6973 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.5361/0.6884, allocations: 205.6 MB / 0.8981 GB, free: 10.68 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0116/0.7, allocations: 7.4 MB / 0.9053 GB, free: 3.262 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001063/0.701, allocations: 47.62 kB / 0.9053 GB, free: 3.215 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.7028, allocations: 0.7265 MB / 0.9061 GB, free: 2.484 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005779/0.7086, allocations: 2.485 MB / 0.9085 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.7116, allocations: 1.25 MB / 0.9097 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.003926/0.7156, allocations: 2.906 MB / 0.9125 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.7167, allocations: 0.7908 MB / 0.9133 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00167/0.7184, allocations: 1.074 MB / 0.9144 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001874/0.7203, allocations: 1.03 MB / 0.9154 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.7205, allocations: 112 kB / 0.9155 GB, free: 8.797 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004129/0.7246, allocations: 2.264 MB / 0.9177 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005054/0.7251, allocations: 470.5 kB / 0.9181 GB, free: 6.066 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000765/0.7259, allocations: 0.6611 MB / 0.9188 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003635/0.7295, allocations: 2.406 MB / 0.9211 GB, free: 2.988 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.7295, allocations: 4 kB / 0.9211 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7295, allocations: 0 / 0.9211 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.568e-05/0.7295, allocations: 0 / 0.9211 GB, free: 2.984 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003454/0.733, allocations: 1.665 MB / 0.9228 GB, free: 1.262 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.733, allocations: 9.109 kB / 0.9228 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001838/0.7332, allocations: 135.3 kB / 0.9229 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002648/0.7358, allocations: 382.9 kB / 0.9233 GB, free: 0.7383 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.7373, allocations: 0.8598 MB / 0.9241 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.353e-05/0.7374, allocations: 62 kB / 0.9242 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/0.7375, allocations: 87.91 kB / 0.9242 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.7393, allocations: 1.038 MB / 0.9253 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.7394, allocations: 0 / 0.9253 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.7395, allocations: 39.98 kB / 0.9253 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-05/0.7395, allocations: 45.92 kB / 0.9253 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.7412, allocations: 0.8783 MB / 0.9262 GB, free: 13.66 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.005433/0.7466, allocations: 4.302 MB / 0.9304 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.7478, allocations: 0.6398 MB / 0.931 GB, free: 8.359 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008526/0.7486, allocations: 428.8 kB / 0.9314 GB, free: 7.941 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000699/0.7493, allocations: 0.6693 MB / 0.9321 GB, free: 7.121 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.7494, allocations: 43.12 kB / 0.9321 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 2.465e-06/0.7494, allocations: 4 kB / 0.9321 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.002105/0.7515, allocations: 0.9904 MB / 0.9331 GB, free: 6.07 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.7515, allocations: 59.91 kB / 0.9332 GB, free: 6 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000858/0.7524, allocations: 0.6372 MB / 0.9338 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7e-05/0.7525, allocations: 41.7 kB / 0.9338 GB, free: 5.305 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/0.7528, allocations: 444.8 kB / 0.9342 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.7531, allocations: 253.8 kB / 0.9345 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.7533, allocations: 126.3 kB / 0.9346 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002113/0.7535, allocations: 386.8 kB / 0.935 GB, free: 4.098 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.754, allocations: 269.2 kB / 0.9352 GB, free: 3.836 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005982/0.7546, allocations: 374.6 kB / 0.9356 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.7557, allocations: 0.6587 MB / 0.9362 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.7557, allocations: 8.875 kB / 0.9362 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00144/0.7572, allocations: 0.7856 MB / 0.937 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.7572, allocations: 7.984 kB / 0.937 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.7572, allocations: 4 kB / 0.937 GB, free: 1.945 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.7572, allocations: 4 kB / 0.937 GB, free: 1.941 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007234/0.758, allocations: 147.8 kB / 0.9372 GB, free: 1.797 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.758, allocations: 8.125 kB / 0.9372 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007915/0.7588, allocations: 69.59 kB / 0.9372 GB, free: 1.727 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-05/0.7588, allocations: 24 kB / 0.9373 GB, free: 1.703 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004365/0.7592, allocations: 281.6 kB / 0.9375 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.7594, allocations: 91.44 kB / 0.9376 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.761, allocations: 0.7919 MB / 0.9384 GB, free: 0.5273 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.761, allocations: 8 kB / 0.9384 GB, free: 0.5195 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.761, allocations: 0 / 0.9384 GB, free: 0.5195 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001251/0.7622, allocations: 0.8114 MB / 0.9392 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.7651, allocations: 1.849 MB / 0.941 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.7651, allocations: 0 / 0.941 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009115/0.766, allocations: 171.8 kB / 0.9412 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.766, allocations: 7.938 kB / 0.9412 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.068e-05/0.7661, allocations: 12 kB / 0.9412 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.7661, allocations: 9.547 kB / 0.9412 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7661, allocations: 0 / 0.9412 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.7681, allocations: 1.281 MB / 0.9424 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003973/0.7685, allocations: 252.3 kB / 0.9427 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.7687, allocations: 12 kB / 0.9427 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006631/0.7693, allocations: 28.69 kB / 0.9427 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.7694, allocations: 44.44 kB / 0.9428 GB, free: 11.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.583e-05/0.7695, allocations: 27.98 kB / 0.9428 GB, free: 11.88 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006156/0.7701, allocations: 451 kB / 0.9432 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.7701, allocations: 0 / 0.9432 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008698/0.771, allocations: 339.4 kB / 0.9435 GB, free: 11.11 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00256/0.7735, allocations: 1.909 MB / 0.9454 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.7748, allocations: 0.6445 MB / 0.946 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7748, allocations: 4 kB / 0.946 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006125/0.7754, allocations: 339 kB / 0.9464 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/0.7781, allocations: 0.5456 MB / 0.9469 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.789, allocations: 6.955 MB / 0.9537 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008074/0.7898, allocations: 1.089 MB / 0.9547 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008324/0.7906, allocations: 227.2 kB / 0.955 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005569/0.7912, allocations: 355.3 kB / 0.9553 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of SimCode: time 9.92e-07/0.7912, allocations: 4 kB / 0.9553 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05961/0.8508, allocations: 25.48 MB / 0.9802 GB, free: 5.707 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.757/10.61, allocations: 14.66 kB / 0.9802 GB, free: 5.695 MB / 0.7481 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation.fmu > IDEAS_IDEAS.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.158720848994562] Failed to read output from testmodel.py, exit status != 0: 10.69828963499458 10.721687433 9.987749662 Calling exit ...