Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001194/0.001194, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001155/0.001155, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.157/1.157, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00254/0.00254, allocations: 234.4 kB / 259.4 MB, free: 13.02 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.8778/0.8778, allocations: 138.4 MB / 454.3 MB, free: 29.99 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.026e-06/3.026e-06, allocations: 0 / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.665e-05/4.967e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.887 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.7018/0.7018, allocations: 178.6 MB / 0.8207 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01036/0.7122, allocations: 6.915 MB / 0.8274 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.7135, allocations: 47.62 kB / 0.8275 GB, free: 1.465 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002413/0.7159, allocations: 0.6638 MB / 0.8281 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006049/0.722, allocations: 2.581 MB / 0.8306 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.7251, allocations: 1.278 MB / 0.8319 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003471/0.7285, allocations: 3.022 MB / 0.8348 GB, free: 9.891 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008173/0.7293, allocations: 0.7053 MB / 0.8355 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.7308, allocations: 1.414 MB / 0.8369 GB, free: 7.75 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.7321, allocations: 0.9023 MB / 0.8378 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.7323, allocations: 112 kB / 0.8379 GB, free: 6.742 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003513/0.7358, allocations: 1.787 MB / 0.8396 GB, free: 4.949 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.000386/0.7362, allocations: 486.6 kB / 0.8401 GB, free: 4.473 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004237/0.7366, allocations: 491 kB / 0.8406 GB, free: 3.992 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.739, allocations: 2.427 MB / 0.8429 GB, free: 1.559 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.739, allocations: 4 kB / 0.8429 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.985e-06/0.739, allocations: 0.6562 kB / 0.8429 GB, free: 1.555 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.739, allocations: 0 / 0.8429 GB, free: 1.555 MB / 0.6667 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.002439/0.7415, allocations: 1.574 MB / 0.8445 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.348e-05/0.7415, allocations: 13.94 kB / 0.8445 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.7417, allocations: 135.2 kB / 0.8446 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.743, allocations: 390.9 kB / 0.845 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.7441, allocations: 0.7721 MB / 0.8457 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.7441, allocations: 74.58 kB / 0.8458 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.746e-05/0.7442, allocations: 83.95 kB / 0.8459 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.7455, allocations: 1.246 MB / 0.8471 GB, free: 13.12 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.7455, allocations: 7.938 kB / 0.8471 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/0.7455, allocations: 39.97 kB / 0.8472 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-05/0.7456, allocations: 45.98 kB / 0.8472 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.7467, allocations: 0.8742 MB / 0.8481 GB, free: 12.16 MB / 0.6823 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.003171/0.7498, allocations: 2.866 MB / 0.8509 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008412/0.7507, allocations: 0.649 MB / 0.8515 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005607/0.7512, allocations: 435.8 kB / 0.8519 GB, free: 8.129 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000338/0.7516, allocations: 80.59 kB / 0.852 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.7516, allocations: 44.59 kB / 0.852 GB, free: 8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=70): time 2.094e-06/0.7516, allocations: 0 / 0.852 GB, free: 8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=70): time 0.001355/0.7529, allocations: 1.005 MB / 0.853 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.753, allocations: 60.06 kB / 0.8531 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/0.7536, allocations: 0.6334 MB / 0.8537 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.699e-05/0.7536, allocations: 37.7 kB / 0.8537 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.7539, allocations: 444.8 kB / 0.8541 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.754, allocations: 261.8 kB / 0.8544 GB, free: 5.535 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.7542, allocations: 114.3 kB / 0.8545 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.7543, allocations: 390.7 kB / 0.8549 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003297/0.7546, allocations: 273.2 kB / 0.8551 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/0.755, allocations: 357.1 kB / 0.8555 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008124/0.7558, allocations: 0.6668 MB / 0.8561 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.7558, allocations: 0 / 0.8561 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008373/0.7566, allocations: 0.8014 MB / 0.8569 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.34e-05/0.7567, allocations: 4.938 kB / 0.8569 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.7567, allocations: 0 / 0.8569 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.733e-05/0.7567, allocations: 8 kB / 0.8569 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/0.7571, allocations: 147.7 kB / 0.8571 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.7571, allocations: 7.938 kB / 0.8571 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.7574, allocations: 55.56 kB / 0.8571 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.7574, allocations: 22.25 kB / 0.8571 GB, free: 2.656 MB / 0.6823 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.0002733/0.7577, allocations: 293.7 kB / 0.8574 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.76e-05/0.7578, allocations: 87.48 kB / 0.8575 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009845/0.7588, allocations: 0.7959 MB / 0.8583 GB, free: 1.469 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.7588, allocations: 4 kB / 0.8583 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.7588, allocations: 4 kB / 0.8583 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007198/0.7595, allocations: 0.8291 MB / 0.8591 GB, free: 0.582 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.7613, allocations: 1.672 MB / 0.8607 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.7613, allocations: 0 / 0.8607 GB, free: 14.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.7617, allocations: 159.8 kB / 0.8609 GB, free: 14.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.7617, allocations: 7.938 kB / 0.8609 GB, free: 14.69 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.357e-05/0.7618, allocations: 19.98 kB / 0.8609 GB, free: 14.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.7618, allocations: 4 kB / 0.8609 GB, free: 14.67 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.7618, allocations: 4 kB / 0.8609 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.763, allocations: 1.205 MB / 0.8621 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.7633, allocations: 185.7 kB / 0.8623 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/0.7633, allocations: 12 kB / 0.8623 GB, free: 13.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.7636, allocations: 23.75 kB / 0.8623 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.7637, allocations: 52.5 kB / 0.8624 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.7638, allocations: 20 kB / 0.8624 GB, free: 13.17 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005039/0.7643, allocations: 459 kB / 0.8628 GB, free: 12.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.7643, allocations: 0 / 0.8628 GB, free: 12.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005926/0.7649, allocations: 335.3 kB / 0.8631 GB, free: 12.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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.001812/0.7667, allocations: 1.837 MB / 0.8649 GB, free: 10.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007788/0.7675, allocations: 0.6499 MB / 0.8656 GB, free: 9.887 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.7675, allocations: 0 / 0.8656 GB, free: 9.887 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.7678, allocations: 355.5 kB / 0.8659 GB, free: 9.539 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.7692, allocations: 0.5375 MB / 0.8664 GB, free: 9.051 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007181/0.7764, allocations: 6.808 MB / 0.8731 GB, free: 2.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.7768, allocations: 0.4948 MB / 0.8736 GB, free: 1.547 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005933/0.7774, allocations: 234.2 kB / 0.8738 GB, free: 1.316 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003676/0.7778, allocations: 360.4 kB / 0.8741 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of SimCode: time 1.032e-06/0.7778, allocations: 0 / 0.8741 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0425/0.8203, allocations: 28.05 MB / 0.9015 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.356/9.177, allocations: 3.859 kB / 0.9015 GB, free: 5.574 MB / 0.7292 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.870478748343885] Failed to read output from testmodel.py, exit status != 0: 9.272253947332501 9.28268219 8.540540816 Calling exit ...