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.00194/0.00194, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002481/0.002481, allocations: 208.8 kB / 22.24 MB, free: 4.859 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.512/1.512, allocations: 230.6 MB / 256 MB, free: 8.004 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.9202/0.9202, allocations: 145 MB / 457.4 MB, free: 15.26 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_NaturalVentilation",fmuType="me",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.002422/0.002422, allocations: 67.48 kB / 0.6331 GB, free: 6.699 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1801, allocations: 87.89 MB / 0.7189 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.5956/0.7757, allocations: 178.9 MB / 0.8936 GB, free: 8.082 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.7886, allocations: 6.91 MB / 0.9004 GB, free: 1.16 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.7906, allocations: 47.62 kB / 0.9004 GB, free: 1.113 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002182/0.7928, allocations: 0.6641 MB / 0.9011 GB, free: 456 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006955/0.7998, allocations: 2.517 MB / 0.9035 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003377/0.8031, allocations: 1.261 MB / 0.9048 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004378/0.8075, allocations: 2.969 MB / 0.9077 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.8088, allocations: 0.7055 MB / 0.9084 GB, free: 8.953 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002228/0.8111, allocations: 1.078 MB / 0.9094 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002412/0.8135, allocations: 0.979 MB / 0.9104 GB, free: 6.895 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003986/0.8139, allocations: 115.9 kB / 0.9105 GB, free: 6.781 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00413/0.818, allocations: 1.753 MB / 0.9122 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007394/0.8187, allocations: 466.6 kB / 0.9126 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.82, allocations: 0.5485 MB / 0.9132 GB, free: 4.016 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00501/0.825, allocations: 2.439 MB / 0.9156 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.825, allocations: 0 / 0.9156 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.184e-06/0.825, allocations: 0 / 0.9156 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.463e-05/0.825, allocations: 0 / 0.9156 GB, free: 1.57 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.004204/0.8292, allocations: 1.593 MB / 0.9171 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.8293, allocations: 12.03 kB / 0.9171 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00025/0.8295, allocations: 135.3 kB / 0.9173 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00262/0.8322, allocations: 382.8 kB / 0.9176 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.8339, allocations: 0.7837 MB / 0.9184 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.277e-05/0.8339, allocations: 66 kB / 0.9184 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001788/0.8341, allocations: 95.92 kB / 0.9185 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002197/0.8363, allocations: 1.235 MB / 0.9197 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.8363, allocations: 4 kB / 0.9197 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.8364, allocations: 43.98 kB / 0.9198 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.336e-05/0.8365, allocations: 41.98 kB / 0.9198 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.8382, allocations: 0.8783 MB / 0.9207 GB, free: 12.16 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.005651/0.8438, allocations: 2.865 MB / 0.9235 GB, free: 9.211 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001292/0.8451, allocations: 0.6598 MB / 0.9241 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008706/0.846, allocations: 427.2 kB / 0.9245 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004062/0.8464, allocations: 80.58 kB / 0.9246 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.637e-05/0.8465, allocations: 43.22 kB / 0.9247 GB, free: 8 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 2.935e-06/0.8465, allocations: 0 / 0.9247 GB, free: 8 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.00225/0.8487, allocations: 0.9972 MB / 0.9256 GB, free: 7 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.8488, allocations: 64 kB / 0.9257 GB, free: 6.926 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.8498, allocations: 0.6372 MB / 0.9263 GB, free: 6.285 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.182e-05/0.8499, allocations: 41.7 kB / 0.9264 GB, free: 6.238 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004298/0.8504, allocations: 436.8 kB / 0.9268 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003563/0.8507, allocations: 265.7 kB / 0.927 GB, free: 5.543 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.851, allocations: 118.3 kB / 0.9271 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002383/0.8512, allocations: 386.7 kB / 0.9275 GB, free: 5.035 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005299/0.8517, allocations: 277.2 kB / 0.9278 GB, free: 4.762 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005882/0.8523, allocations: 357 kB / 0.9281 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.8535, allocations: 0.6641 MB / 0.9288 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.8535, allocations: 0 / 0.9288 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001502/0.855, allocations: 0.8013 MB / 0.9295 GB, free: 2.898 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.855, allocations: 4 kB / 0.9295 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.855, allocations: 4.188 kB / 0.9295 GB, free: 2.891 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.589e-05/0.855, allocations: 11.98 kB / 0.9296 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000662/0.8557, allocations: 143.8 kB / 0.9297 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.8557, allocations: 4 kB / 0.9297 GB, free: 2.734 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/0.8565, allocations: 51.61 kB / 0.9297 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/0.8566, allocations: 27.94 kB / 0.9298 GB, free: 2.656 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.0004243/0.857, allocations: 288.7 kB / 0.9301 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002021/0.8572, allocations: 87.48 kB / 0.9301 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.8586, allocations: 0.8107 MB / 0.9309 GB, free: 1.465 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.8586, allocations: 8 kB / 0.9309 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.8587, allocations: 0 / 0.9309 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001209/0.8599, allocations: 0.8213 MB / 0.9317 GB, free: 0.5859 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/0.8627, allocations: 1.675 MB / 0.9334 GB, free: 14.86 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.8627, allocations: 7.938 kB / 0.9334 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008208/0.8636, allocations: 159.8 kB / 0.9335 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/0.8636, allocations: 4 kB / 0.9335 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.586e-05/0.8636, allocations: 15.98 kB / 0.9336 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.8636, allocations: 4 kB / 0.9336 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8636, allocations: 0 / 0.9336 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.8656, allocations: 1.206 MB / 0.9347 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004748/0.866, allocations: 183.2 kB / 0.9349 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.8662, allocations: 12 kB / 0.9349 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006669/0.8668, allocations: 21.67 kB / 0.9349 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.867, allocations: 48.56 kB / 0.935 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.867, allocations: 23.98 kB / 0.935 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006037/0.8676, allocations: 455 kB / 0.9354 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8676, allocations: 0 / 0.9354 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008585/0.8685, allocations: 339.3 kB / 0.9358 GB, free: 12.39 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.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.002489/0.871, allocations: 1.856 MB / 0.9376 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001211/0.8722, allocations: 0.6419 MB / 0.9382 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.8722, allocations: 4.375 kB / 0.9382 GB, free: 9.867 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005655/0.8728, allocations: 351.6 kB / 0.9385 GB, free: 9.527 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/0.8751, allocations: 0.5458 MB / 0.9391 GB, free: 9.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.8864, allocations: 6.975 MB / 0.9459 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006662/0.887, allocations: 0.4908 MB / 0.9464 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001063/0.8881, allocations: 235.1 kB / 0.9466 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000684/0.8888, allocations: 355.3 kB / 0.9469 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of SimCode: time 1.713e-06/0.8888, allocations: 0 / 0.9469 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07227/0.961, allocations: 28.07 MB / 0.9743 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.71, allocations: 14.7 kB / 0.9744 GB, free: 5.23 MB / 0.7481 GB " [Timeout remaining time 647] (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: 16.593007690738887] Failed to read output from testmodel.py, exit status != 0: 12.840328715741634 12.866203007 12.036457386 Calling exit ...