Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001681/0.001681, allocations: 109.5 kB / 19.73 MB, free: 2.242 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.002071/0.002071, allocations: 216.8 kB / 23.04 MB, free: 5.078 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9287/0.9287, allocations: 145 MB / 458.2 MB, free: 15.57 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro 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.002502/0.002502, allocations: 68.91 kB / 0.6339 GB, free: 7.402 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1825, allocations: 87.89 MB / 0.7197 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.6695/0.852, allocations: 206.2 MB / 0.9211 GB, free: 15.17 MB / 0.7013 GB Notification: Performance of NFInst.instExpressions: time 0.01288/0.8649, allocations: 7.438 MB / 0.9284 GB, free: 7.719 MB / 0.7013 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.8664, allocations: 51.62 kB / 0.9285 GB, free: 7.668 MB / 0.7013 GB Notification: Performance of NFTyping.typeComponents: time 0.002233/0.8687, allocations: 0.7265 MB / 0.9292 GB, free: 6.938 MB / 0.7013 GB Notification: Performance of NFTyping.typeBindings: time 0.007253/0.8759, allocations: 2.528 MB / 0.9316 GB, free: 4.398 MB / 0.7013 GB Notification: Performance of NFTyping.typeClassSections: time 0.004062/0.88, allocations: 1.29 MB / 0.9329 GB, free: 3.109 MB / 0.7013 GB Notification: Performance of NFFlatten.flatten: time 0.005598/0.8856, allocations: 2.992 MB / 0.9358 GB, free: 108 kB / 0.7013 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.8873, allocations: 0.7164 MB / 0.9365 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002437/0.8897, allocations: 1.063 MB / 0.9376 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00277/0.8925, allocations: 1.033 MB / 0.9386 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003757/0.8929, allocations: 112 kB / 0.9387 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005063/0.898, allocations: 2.295 MB / 0.9409 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000812/0.8988, allocations: 466.6 kB / 0.9414 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002087/0.9009, allocations: 0.6689 MB / 0.942 GB, free: 9.734 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00781/0.9087, allocations: 2.492 MB / 0.9444 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.9087, allocations: 0 / 0.9444 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9087, allocations: 7.938 kB / 0.9444 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.969e-05/0.9087, allocations: 0 / 0.9444 GB, free: 7.227 MB / 0.7169 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.005198/0.9139, allocations: 1.586 MB / 0.946 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.914, allocations: 15.97 kB / 0.946 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.965e-05/0.914, allocations: 22 kB / 0.946 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003705/0.9144, allocations: 139.3 kB / 0.9462 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/0.9175, allocations: 382.8 kB / 0.9465 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002439/0.92, allocations: 0.7759 MB / 0.9473 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.439e-05/0.9201, allocations: 70 kB / 0.9474 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003134/0.9204, allocations: 87.95 kB / 0.9474 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.9231, allocations: 1.045 MB / 0.9485 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.9231, allocations: 4 kB / 0.9485 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.9232, allocations: 32 kB / 0.9485 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.906e-05/0.9233, allocations: 49.92 kB / 0.9485 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/0.9254, allocations: 0.8822 MB / 0.9494 GB, free: 2.043 MB / 0.7169 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.007323/0.9327, allocations: 4.243 MB / 0.9535 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.9342, allocations: 0.6548 MB / 0.9542 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.9352, allocations: 441.4 kB / 0.9546 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004393/0.9356, allocations: 84.53 kB / 0.9547 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/0.9357, allocations: 44.09 kB / 0.9547 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 3.025e-06/0.9357, allocations: 0 / 0.9547 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.00244/0.9381, allocations: 0.9972 MB / 0.9557 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.9382, allocations: 64.06 kB / 0.9558 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.9393, allocations: 0.6334 MB / 0.9564 GB, free: 10.51 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.9395, allocations: 37.7 kB / 0.9564 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003799/0.9398, allocations: 440.8 kB / 0.9568 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003552/0.9402, allocations: 261.7 kB / 0.9571 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002606/0.9405, allocations: 118.2 kB / 0.9572 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002362/0.9407, allocations: 394.7 kB / 0.9576 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005829/0.9413, allocations: 277.2 kB / 0.9578 GB, free: 8.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006122/0.9419, allocations: 361 kB / 0.9582 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.9431, allocations: 0.6629 MB / 0.9588 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.9431, allocations: 0 / 0.9588 GB, free: 7.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001706/0.9448, allocations: 0.7973 MB / 0.9596 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.9449, allocations: 4 kB / 0.9596 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.9449, allocations: 10.06 kB / 0.9596 GB, free: 7.105 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.9449, allocations: 4 kB / 0.9596 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000718/0.9456, allocations: 143.8 kB / 0.9598 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/0.9456, allocations: 4 kB / 0.9598 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/0.9466, allocations: 55.59 kB / 0.9598 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/0.9466, allocations: 23.94 kB / 0.9598 GB, free: 6.879 MB / 0.7325 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.000614/0.9473, allocations: 297.5 kB / 0.9601 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003151/0.9476, allocations: 91.44 kB / 0.9602 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001767/0.9493, allocations: 0.7994 MB / 0.961 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.9494, allocations: 4 kB / 0.961 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.9494, allocations: 0 / 0.961 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001371/0.9507, allocations: 0.8174 MB / 0.9618 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003869/0.9546, allocations: 1.831 MB / 0.9636 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.9546, allocations: 7.938 kB / 0.9636 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008848/0.9555, allocations: 167.7 kB / 0.9638 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.371e-05/0.9555, allocations: 4 kB / 0.9638 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.537e-05/0.9556, allocations: 19.98 kB / 0.9638 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/0.9556, allocations: 4 kB / 0.9638 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9556, allocations: 4 kB / 0.9638 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/0.9579, allocations: 1.198 MB / 0.965 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006519/0.9585, allocations: 171.3 kB / 0.9651 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/0.9588, allocations: 12 kB / 0.9651 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008383/0.9596, allocations: 26.23 kB / 0.9652 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.9598, allocations: 44.56 kB / 0.9652 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.786e-05/0.9599, allocations: 27.98 kB / 0.9652 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008423/0.9607, allocations: 455 kB / 0.9657 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.9607, allocations: 0 / 0.9657 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001394/0.9621, allocations: 339.4 kB / 0.966 GB, free: 480 kB / 0.7325 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.003105/0.9652, allocations: 1.85 MB / 0.9678 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001689/0.9669, allocations: 0.6419 MB / 0.9684 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/0.9669, allocations: 384 / 0.9684 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008122/0.9677, allocations: 355.6 kB / 0.9688 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/0.9715, allocations: 0.5506 MB / 0.9693 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/0.9861, allocations: 6.971 MB / 0.9761 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.9872, allocations: 1.085 MB / 0.9772 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001245/0.9885, allocations: 235.1 kB / 0.9774 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008179/0.9893, allocations: 355.3 kB / 0.9777 GB, free: 4.242 MB / 0.7481 GB Notification: Performance of SimCode: time 2.274e-06/0.9893, allocations: 0 / 0.9777 GB, free: 4.242 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09722/1.087, allocations: 26.07 MB / 1.003 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.92, allocations: 11.86 kB / 1.003 GB, free: 10.54 MB / 0.7794 GB " [Timeout remaining time 646] (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation_fmu --startTime=0 --stopTime=7200 --stepSize=2.88 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.85466956300661] Failed to read output from testmodel.py, exit status != 0: 14.10911928198766 14.138090105 13.22430857 Calling exit ...