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.001499/0.001499, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001648/0.001648, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.9557/0.9557, allocations: 145 MB / 458.2 MB, free: 15.31 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.002007/0.002007, allocations: 62.72 kB / 0.6338 GB, free: 6.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.181/0.183, allocations: 87.89 MB / 0.7197 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.6165/0.7995, allocations: 178.8 MB / 0.8943 GB, free: 8.242 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01342/0.8129, allocations: 6.892 MB / 0.901 GB, free: 1.336 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.8145, allocations: 55.56 kB / 0.9011 GB, free: 1.281 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002188/0.8167, allocations: 0.668 MB / 0.9017 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007128/0.8238, allocations: 2.519 MB / 0.9042 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003939/0.8278, allocations: 1.269 MB / 0.9054 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004801/0.8326, allocations: 2.988 MB / 0.9083 GB, free: 9.812 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001587/0.8342, allocations: 0.713 MB / 0.909 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002274/0.8364, allocations: 1.078 MB / 0.9101 GB, free: 8 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002565/0.839, allocations: 1.028 MB / 0.9111 GB, free: 6.977 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003885/0.8394, allocations: 112 kB / 0.9112 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004484/0.8439, allocations: 1.776 MB / 0.9129 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008856/0.8447, allocations: 466.5 kB / 0.9134 GB, free: 4.629 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.8461, allocations: 0.5602 MB / 0.9139 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005219/0.8513, allocations: 2.426 MB / 0.9163 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.8514, allocations: 0 / 0.9163 GB, free: 1.633 MB / 0.6856 GB Notification: Performance of FrontEnd: time 5.43e-06/0.8514, allocations: 3.984 kB / 0.9163 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.051e-05/0.8514, allocations: 0 / 0.9163 GB, free: 1.629 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.004225/0.8557, allocations: 1.586 MB / 0.9178 GB, free: 8 kB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.8557, allocations: 8.031 kB / 0.9178 GB, free: 0 / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.318e-05/0.8557, allocations: 26.11 kB / 0.9179 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002473/0.856, allocations: 139.2 kB / 0.918 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002813/0.8588, allocations: 386.8 kB / 0.9184 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/0.8606, allocations: 0.7798 MB / 0.9191 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.699e-05/0.8607, allocations: 62 kB / 0.9192 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/0.8609, allocations: 91.94 kB / 0.9193 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.863, allocations: 1.239 MB / 0.9205 GB, free: 13.17 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.863, allocations: 10.69 kB / 0.9205 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.802e-05/0.8631, allocations: 35.98 kB / 0.9205 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.021e-05/0.8632, allocations: 45.98 kB / 0.9206 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/0.865, allocations: 0.8783 MB / 0.9214 GB, free: 12.2 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.005486/0.8705, allocations: 2.869 MB / 0.9242 GB, free: 9.258 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.8718, allocations: 0.6589 MB / 0.9249 GB, free: 8.59 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008379/0.8726, allocations: 435.2 kB / 0.9253 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003896/0.873, allocations: 76.59 kB / 0.9254 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.873, allocations: 39.22 kB / 0.9254 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=70): time 2.846e-06/0.873, allocations: 0 / 0.9254 GB, free: 8.043 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70): time 0.002123/0.8752, allocations: 1.001 MB / 0.9264 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.8752, allocations: 60.06 kB / 0.9264 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009286/0.8761, allocations: 0.6372 MB / 0.9271 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.668e-05/0.8762, allocations: 37.7 kB / 0.9271 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/0.8766, allocations: 444.8 kB / 0.9275 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/0.8768, allocations: 269.7 kB / 0.9278 GB, free: 5.574 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.877, allocations: 122.3 kB / 0.9279 GB, free: 5.449 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.8772, allocations: 386.7 kB / 0.9283 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005121/0.8777, allocations: 273.2 kB / 0.9285 GB, free: 4.793 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/0.8783, allocations: 357.1 kB / 0.9289 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/0.8794, allocations: 0.6668 MB / 0.9295 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.8794, allocations: 0 / 0.9295 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001437/0.8808, allocations: 0.7935 MB / 0.9303 GB, free: 2.934 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.8809, allocations: 4 kB / 0.9303 GB, free: 2.93 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.8809, allocations: 4 kB / 0.9303 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.8809, allocations: 4 kB / 0.9303 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/0.8816, allocations: 148 kB / 0.9304 GB, free: 2.777 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.812e-05/0.8816, allocations: 4 kB / 0.9304 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007729/0.8824, allocations: 59.5 kB / 0.9305 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.8824, allocations: 24.62 kB / 0.9305 GB, free: 2.691 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.0004475/0.8829, allocations: 281.6 kB / 0.9308 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/0.8831, allocations: 91.44 kB / 0.9309 GB, free: 2.316 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.8846, allocations: 0.7957 MB / 0.9317 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.8846, allocations: 8 kB / 0.9317 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.8846, allocations: 8.5 kB / 0.9317 GB, free: 1.496 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001263/0.8859, allocations: 0.8213 MB / 0.9325 GB, free: 0.625 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/0.889, allocations: 1.675 MB / 0.9341 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.889, allocations: 0 / 0.9341 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009027/0.8899, allocations: 171.4 kB / 0.9343 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.8899, allocations: 4 kB / 0.9343 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/0.89, allocations: 19.98 kB / 0.9343 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.89, allocations: 4 kB / 0.9343 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.89, allocations: 0 / 0.9343 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002022/0.892, allocations: 1.21 MB / 0.9355 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000498/0.8925, allocations: 179.2 kB / 0.9357 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.8927, allocations: 12 kB / 0.9357 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007597/0.8934, allocations: 28.55 kB / 0.9357 GB, free: 13.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.8936, allocations: 44.56 kB / 0.9357 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.659e-05/0.8936, allocations: 24 kB / 0.9358 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006955/0.8943, allocations: 455 kB / 0.9362 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8943, allocations: 0 / 0.9362 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001018/0.8953, allocations: 339.4 kB / 0.9365 GB, free: 12.43 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.002543/0.8979, allocations: 1.845 MB / 0.9383 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00131/0.8992, allocations: 0.6419 MB / 0.9389 GB, free: 9.918 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.8992, allocations: 0 / 0.9389 GB, free: 9.918 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005863/0.8998, allocations: 359.5 kB / 0.9393 GB, free: 9.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/0.9023, allocations: 0.5536 MB / 0.9398 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/0.9137, allocations: 6.964 MB / 0.9466 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/0.9143, allocations: 0.4948 MB / 0.9471 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001044/0.9154, allocations: 227.2 kB / 0.9473 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008221/0.9162, allocations: 359.3 kB / 0.9477 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of SimCode: time 1.242e-06/0.9162, allocations: 0 / 0.9477 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06493/0.9811, allocations: 27.79 MB / 0.9748 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/14.07, allocations: 18.66 kB / 0.9748 GB, free: 5.543 MB / 0.7481 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: 18.007073193090037] Failed to read output from testmodel.py, exit status != 0: 14.261841587955132 14.287107929 13.430850324 Calling exit ...