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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.05436/0.05436, allocations: 103.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.781/1.781, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003994/0.003994, allocations: 279.1 kB / 303 MB, free: 3.617 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.53/1.53, allocations: 180.9 MB / 0.5261 GB, free: 2.797 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002669/0.002669, allocations: 103.8 kB / 0.7248 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6174/0.62, allocations: 94.15 MB / 0.8167 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.2597/0.8797, allocations: 202.7 MB / 1.015 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01392/0.8936, allocations: 7.406 MB / 1.022 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.8953, allocations: 35.81 kB / 1.022 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002323/0.8976, allocations: 0.7343 MB / 1.023 GB, free: 13.64 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.008591/0.9062, allocations: 2.482 MB / 1.025 GB, free: 11.15 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003846/0.9101, allocations: 1.257 MB / 1.026 GB, free: 9.895 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.004238/0.9143, allocations: 2.903 MB / 1.029 GB, free: 6.984 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.9155, allocations: 0.7869 MB / 1.03 GB, free: 6.176 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001742/0.9173, allocations: 1.059 MB / 1.031 GB, free: 5.113 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002664/0.9199, allocations: 1.022 MB / 1.032 GB, free: 4.094 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.9201, allocations: 112 kB / 1.032 GB, free: 3.984 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004569/0.9247, allocations: 2.272 MB / 1.034 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005274/0.9252, allocations: 462.5 kB / 1.035 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.000792/0.926, allocations: 0.665 MB / 1.035 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003933/0.9299, allocations: 2.406 MB / 1.038 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9299, allocations: 0 / 1.038 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.562e-06/0.9299, allocations: 0 / 1.038 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.006e-05/0.9299, allocations: 0 / 1.038 GB, free: 14.17 MB / 0.7794 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.003337/0.9333, allocations: 1.665 MB / 1.039 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.9333, allocations: 8.031 kB / 1.039 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001775/0.9335, allocations: 143.2 kB / 1.039 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/0.9359, allocations: 378.9 kB / 1.04 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.9375, allocations: 0.8559 MB / 1.041 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.58e-05/0.9376, allocations: 69.98 kB / 1.041 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.9377, allocations: 84 kB / 1.041 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.9395, allocations: 1.042 MB / 1.042 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.9395, allocations: 3.984 kB / 1.042 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-05/0.9396, allocations: 32 kB / 1.042 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.977e-05/0.9396, allocations: 45.98 kB / 1.042 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001559/0.9412, allocations: 0.8822 MB / 1.043 GB, free: 8.836 MB / 0.7794 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.005412/0.9466, allocations: 4.316 MB / 1.047 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/0.9478, allocations: 0.6595 MB / 1.048 GB, free: 3.504 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000809/0.9486, allocations: 432.7 kB / 1.048 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007389/0.9493, allocations: 0.6771 MB / 1.049 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.049e-05/0.9494, allocations: 43.12 kB / 1.049 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=70): time 3.246e-06/0.9494, allocations: 0 / 1.049 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of matching and sorting (n=70): time 0.001975/0.9514, allocations: 1.002 MB / 1.05 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.9514, allocations: 55.97 kB / 1.05 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008027/0.9522, allocations: 0.6411 MB / 1.05 GB, free: 492 kB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.9523, allocations: 37.7 kB / 1.05 GB, free: 448 kB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.9526, allocations: 440.8 kB / 1.051 GB, free: 0 / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.9529, allocations: 257.9 kB / 1.051 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002/0.9531, allocations: 126.3 kB / 1.051 GB, free: 15.61 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002116/0.9533, allocations: 386.8 kB / 1.052 GB, free: 15.23 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/0.9538, allocations: 273.2 kB / 1.052 GB, free: 14.96 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005354/0.9543, allocations: 357 kB / 1.052 GB, free: 14.59 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.9554, allocations: 0.6665 MB / 1.053 GB, free: 13.9 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.9554, allocations: 0 / 1.053 GB, free: 13.9 MB / 0.795 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001325/0.9567, allocations: 0.7935 MB / 1.054 GB, free: 13.1 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.9567, allocations: 8 kB / 1.054 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.9567, allocations: 7.922 kB / 1.054 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.9567, allocations: 4 kB / 1.054 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006369/0.9574, allocations: 139.8 kB / 1.054 GB, free: 12.94 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.9574, allocations: 8 kB / 1.054 GB, free: 12.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006837/0.9581, allocations: 55.55 kB / 1.054 GB, free: 12.88 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.801e-05/0.9581, allocations: 31.94 kB / 1.054 GB, free: 12.85 MB / 0.795 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.0004472/0.9586, allocations: 281.7 kB / 1.054 GB, free: 12.57 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.9587, allocations: 83.48 kB / 1.054 GB, free: 12.48 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.9602, allocations: 0.7959 MB / 1.055 GB, free: 11.68 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.9602, allocations: 11.94 kB / 1.055 GB, free: 11.67 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.9602, allocations: 0 / 1.055 GB, free: 11.67 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/0.9613, allocations: 0.8269 MB / 1.056 GB, free: 10.79 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002927/0.9643, allocations: 1.853 MB / 1.058 GB, free: 8.879 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.9643, allocations: 0 / 1.058 GB, free: 8.879 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008096/0.9651, allocations: 167.8 kB / 1.058 GB, free: 8.715 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.9651, allocations: 4 kB / 1.058 GB, free: 8.711 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.814e-05/0.9651, allocations: 16 kB / 1.058 GB, free: 8.695 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.9651, allocations: 4 kB / 1.058 GB, free: 8.691 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.9652, allocations: 3.984 kB / 1.058 GB, free: 8.688 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.967, allocations: 1.199 MB / 1.059 GB, free: 7.473 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000466/0.9675, allocations: 252.3 kB / 1.059 GB, free: 7.207 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.9676, allocations: 16 kB / 1.059 GB, free: 7.191 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005698/0.9681, allocations: 26.22 kB / 1.059 GB, free: 7.168 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.9683, allocations: 44.5 kB / 1.059 GB, free: 7.125 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/0.9683, allocations: 23.98 kB / 1.059 GB, free: 7.102 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005757/0.9689, allocations: 459 kB / 1.06 GB, free: 6.66 MB / 0.795 GB Notification: Performance of sort global known variables: time 9e-08/0.9689, allocations: 0 / 1.06 GB, free: 6.66 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0008532/0.9697, allocations: 343.3 kB / 1.06 GB, free: 6.324 MB / 0.795 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.002425/0.9722, allocations: 1.835 MB / 1.062 GB, free: 4.465 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001202/0.9734, allocations: 0.6483 MB / 1.062 GB, free: 3.816 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9734, allocations: 0 / 1.062 GB, free: 3.816 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005524/0.9739, allocations: 347 kB / 1.063 GB, free: 3.48 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/0.9761, allocations: 0.5432 MB / 1.063 GB, free: 2.941 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01038/0.9865, allocations: 6.98 MB / 1.07 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008256/0.9873, allocations: 1.089 MB / 1.071 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000847/0.9881, allocations: 227.2 kB / 1.071 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005311/0.9887, allocations: 359.3 kB / 1.072 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of SimCode: time 1.372e-06/0.9887, allocations: 0 / 1.072 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06347/1.052, allocations: 25.43 MB / 1.097 GB, free: 1.09 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.773/10.82, allocations: 18.64 kB / 1.097 GB, free: 1.078 MB / 0.8262 GB " [Timeout remaining time 649] (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: 15.665296205785125] Failed to read output from testmodel.py, exit status != 0: 10.908787053078413 10.924655656 9.991715759 Calling exit ...