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.001271/0.001271, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00144/0.00144, allocations: 217.6 kB / 22.26 MB, free: 5.113 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.376/1.376, allocations: 230.6 MB / 256 MB, free: 8.035 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.8061/0.8061, allocations: 134 MB / 446.4 MB, free: 10.27 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.002077/0.002077, allocations: 72.14 kB / 0.6185 GB, free: 7.266 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1537, allocations: 85.91 MB / 0.7024 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.NaturalVentilation): time 0.5269/0.6806, allocations: 206.1 MB / 0.9037 GB, free: 8.535 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01128/0.6919, allocations: 7.419 MB / 0.9109 GB, free: 1.102 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.693, allocations: 47.62 kB / 0.911 GB, free: 1.055 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.6949, allocations: 0.7343 MB / 0.9117 GB, free: 324 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006062/0.7009, allocations: 2.532 MB / 0.9142 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003177/0.7041, allocations: 1.275 MB / 0.9154 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00424/0.7084, allocations: 2.996 MB / 0.9183 GB, free: 9.5 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.7097, allocations: 0.7211 MB / 0.919 GB, free: 8.762 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001981/0.7117, allocations: 1.074 MB / 0.9201 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002218/0.7139, allocations: 1.032 MB / 0.9211 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002577/0.7141, allocations: 112 kB / 0.9212 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004483/0.7186, allocations: 2.295 MB / 0.9234 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006019/0.7192, allocations: 470.5 kB / 0.9239 GB, free: 3.785 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.7202, allocations: 0.6689 MB / 0.9245 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003997/0.7242, allocations: 2.406 MB / 0.9269 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7242, allocations: 0 / 0.9269 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.193e-06/0.7242, allocations: 0 / 0.9269 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.551e-05/0.7243, allocations: 0 / 0.9269 GB, free: 0.6992 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.003643/0.7279, allocations: 1.594 MB / 0.9285 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.728, allocations: 8.031 kB / 0.9285 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000189/0.7282, allocations: 139.3 kB / 0.9286 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002452/0.7306, allocations: 374.9 kB / 0.9289 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001554/0.7322, allocations: 0.7837 MB / 0.9297 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.551e-05/0.7322, allocations: 62 kB / 0.9298 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.7324, allocations: 84 kB / 0.9299 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.7341, allocations: 1.042 MB / 0.9309 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.7341, allocations: 5.188 kB / 0.9309 GB, free: 12.51 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.838e-05/0.7342, allocations: 35.94 kB / 0.9309 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.264e-05/0.7343, allocations: 49.92 kB / 0.931 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001565/0.7358, allocations: 0.8744 MB / 0.9318 GB, free: 11.55 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.005266/0.7411, allocations: 4.243 MB / 0.936 GB, free: 6.957 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.7423, allocations: 0.6363 MB / 0.9366 GB, free: 6.316 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008103/0.7431, allocations: 431.2 kB / 0.937 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003643/0.7434, allocations: 72.59 kB / 0.9371 GB, free: 5.82 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.7435, allocations: 43.22 kB / 0.9371 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 2.094e-06/0.7435, allocations: 0 / 0.9371 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.001951/0.7454, allocations: 0.9932 MB / 0.9381 GB, free: 4.773 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.491e-05/0.7455, allocations: 64 kB / 0.9381 GB, free: 4.695 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007817/0.7463, allocations: 0.6372 MB / 0.9388 GB, free: 4.047 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.631e-05/0.7463, allocations: 37.7 kB / 0.9388 GB, free: 4.004 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/0.7467, allocations: 444.8 kB / 0.9392 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000236/0.7469, allocations: 265.7 kB / 0.9395 GB, free: 3.301 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001975/0.7471, allocations: 118.3 kB / 0.9396 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.7473, allocations: 394.7 kB / 0.94 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004862/0.7478, allocations: 273.2 kB / 0.9402 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/0.7484, allocations: 378.6 kB / 0.9406 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.7495, allocations: 0.6552 MB / 0.9412 GB, free: 1.449 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.7495, allocations: 0 / 0.9412 GB, free: 1.449 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001401/0.7509, allocations: 0.7935 MB / 0.942 GB, free: 0.6484 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7509, allocations: 7.938 kB / 0.942 GB, free: 0.6406 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.7509, allocations: 4 kB / 0.942 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.7509, allocations: 4 kB / 0.942 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/0.7516, allocations: 147.9 kB / 0.9421 GB, free: 500 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.7516, allocations: 4 kB / 0.9421 GB, free: 496 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006859/0.7523, allocations: 57.72 kB / 0.9422 GB, free: 440 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.7523, allocations: 24 kB / 0.9422 GB, free: 416 kB / 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.0003942/0.7527, allocations: 281.6 kB / 0.9425 GB, free: 124 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/0.7529, allocations: 91.44 kB / 0.9426 GB, free: 32 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.7543, allocations: 0.8034 MB / 0.9434 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.7543, allocations: 8 kB / 0.9434 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7544, allocations: 0 / 0.9434 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001177/0.7555, allocations: 0.8058 MB / 0.9442 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002871/0.7584, allocations: 1.827 MB / 0.9459 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.7584, allocations: 4 kB / 0.946 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008492/0.7593, allocations: 163.8 kB / 0.9461 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.7593, allocations: 7.938 kB / 0.9461 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/0.7593, allocations: 19.92 kB / 0.9461 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.7593, allocations: 4 kB / 0.9461 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7593, allocations: 0 / 0.9461 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.7613, allocations: 1.292 MB / 0.9474 GB, free: 10.97 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004247/0.7617, allocations: 167.3 kB / 0.9476 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.7619, allocations: 16 kB / 0.9476 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006361/0.7625, allocations: 23.94 kB / 0.9476 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.7626, allocations: 44.58 kB / 0.9476 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.846e-05/0.7626, allocations: 19.98 kB / 0.9477 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005936/0.7632, allocations: 459 kB / 0.9481 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7632, allocations: 0 / 0.9481 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008471/0.7641, allocations: 339.4 kB / 0.9484 GB, free: 9.93 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.00259/0.7667, allocations: 1.919 MB / 0.9503 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.7679, allocations: 0.6419 MB / 0.9509 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7679, allocations: 0 / 0.9509 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005506/0.7685, allocations: 347.5 kB / 0.9513 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/0.7708, allocations: 0.5525 MB / 0.9518 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.7809, allocations: 6.955 MB / 0.9586 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007834/0.7817, allocations: 1.085 MB / 0.9596 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008079/0.7825, allocations: 223.2 kB / 0.9599 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005279/0.783, allocations: 359.3 kB / 0.9602 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of SimCode: time 7.22e-07/0.783, allocations: 0 / 0.9602 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0645/0.8475, allocations: 26.07 MB / 0.9857 GB, free: 3.918 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.85, allocations: 16.78 kB / 0.9857 GB, free: 3.906 MB / 0.7481 GB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 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: 16.233057824894786] Failed to read output from testmodel.py, exit status != 0: 12.987242980860174 13.003053705 12.275741888 Calling exit ...