Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.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.001292/0.001292, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001646/0.001646, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.9354/0.9354, allocations: 145 MB / 458.2 MB, free: 15.27 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.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",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.002328/0.002328, allocations: 66.27 kB / 0.6338 GB, free: 6.727 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1745, allocations: 87.89 MB / 0.7197 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5486/0.7231, allocations: 180.8 MB / 0.8962 GB, free: 6.27 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01118/0.7343, allocations: 5.99 MB / 0.9021 GB, free: 272 kB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001331/0.7356, allocations: 47.62 kB / 0.9021 GB, free: 224 kB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.7377, allocations: 0.6954 MB / 0.9028 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008234/0.7459, allocations: 2.805 MB / 0.9055 GB, free: 12.7 MB / 0.6856 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/IBPSA/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition 'zonFlo.useDefaultProperties and initial()'. Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.7478, allocations: 0.7398 MB / 0.9063 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004678/0.7525, allocations: 3.348 MB / 0.9095 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001606/0.7541, allocations: 0.8142 MB / 0.9103 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002714/0.7568, allocations: 1.323 MB / 0.9116 GB, free: 6.453 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00286/0.7597, allocations: 1.172 MB / 0.9128 GB, free: 5.289 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004425/0.7601, allocations: 128 kB / 0.9129 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004886/0.765, allocations: 1.932 MB / 0.9148 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008911/0.7659, allocations: 0.5336 MB / 0.9153 GB, free: 2.691 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001798/0.7677, allocations: 0.6265 MB / 0.9159 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006026/0.7738, allocations: 2.808 MB / 0.9186 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.7738, allocations: 0 / 0.9186 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7738, allocations: 3.938 kB / 0.9186 GB, free: 15.24 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.191e-05/0.7738, allocations: 0 / 0.9186 GB, free: 15.24 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.006115/0.78, allocations: 1.73 MB / 0.9203 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.78, allocations: 12.03 kB / 0.9203 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.788e-05/0.7801, allocations: 26.02 kB / 0.9204 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004373/0.7805, allocations: 164.6 kB / 0.9205 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002607/0.7831, allocations: 350.9 kB / 0.9209 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/0.785, allocations: 0.8142 MB / 0.9217 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-05/0.7851, allocations: 77.02 kB / 0.9217 GB, free: 12 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001899/0.7853, allocations: 104 kB / 0.9218 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002346/0.7877, allocations: 1.399 MB / 0.9232 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.7877, allocations: 0 / 0.9232 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.7878, allocations: 39.98 kB / 0.9232 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/0.7879, allocations: 62.08 kB / 0.9233 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.7899, allocations: 1.249 MB / 0.9245 GB, free: 9.059 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.005952/0.7958, allocations: 3.122 MB / 0.9276 GB, free: 5.875 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.7973, allocations: 0.83 MB / 0.9284 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007509/0.798, allocations: 485.2 kB / 0.9288 GB, free: 4.559 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 5.685e-05/0.7981, allocations: 16.64 kB / 0.9288 GB, free: 4.543 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009095/0.799, allocations: 0.6814 MB / 0.9295 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 3.346e-06/0.799, allocations: 0 / 0.9295 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.002073/0.8011, allocations: 1.157 MB / 0.9306 GB, free: 2.641 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.8011, allocations: 60.06 kB / 0.9307 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000732/0.8019, allocations: 0.5822 MB / 0.9313 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.239e-05/0.8019, allocations: 37.7 kB / 0.9313 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.8023, allocations: 476.8 kB / 0.9318 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002769/0.8026, allocations: 277.5 kB / 0.932 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.8028, allocations: 130.6 kB / 0.9322 GB, free: 1.051 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.803, allocations: 390.7 kB / 0.9325 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005184/0.8035, allocations: 329.8 kB / 0.9328 GB, free: 348 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006283/0.8041, allocations: 452.8 kB / 0.9333 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.8053, allocations: 0.8271 MB / 0.9341 GB, free: 15 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.8053, allocations: 0 / 0.9341 GB, free: 15 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001436/0.8068, allocations: 0.9339 MB / 0.935 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.8068, allocations: 8 kB / 0.935 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.8068, allocations: 3.938 kB / 0.935 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.8068, allocations: 11.94 kB / 0.935 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006907/0.8075, allocations: 151.8 kB / 0.9352 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.8075, allocations: 11.98 kB / 0.9352 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007091/0.8082, allocations: 63.86 kB / 0.9352 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/0.8083, allocations: 31.94 kB / 0.9353 GB, free: 13.78 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.000475/0.8087, allocations: 325.6 kB / 0.9356 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.8089, allocations: 83.48 kB / 0.9356 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002283/0.8091, allocations: 115.7 kB / 0.9358 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.8091, allocations: 7.984 kB / 0.9358 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.8091, allocations: 7.875 kB / 0.9358 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001357/0.8105, allocations: 1.085 MB / 0.9368 GB, free: 12.07 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 postOpt removeSimpleEquations (simulation): time 0.003235/0.8137, allocations: 2.022 MB / 0.9388 GB, free: 9.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.8137, allocations: 4.031 kB / 0.9388 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008751/0.8146, allocations: 175.8 kB / 0.939 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.8146, allocations: 0 / 0.939 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.669e-05/0.8147, allocations: 20 kB / 0.939 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.8147, allocations: 4 kB / 0.939 GB, free: 9.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.8147, allocations: 3.938 kB / 0.939 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.8167, allocations: 1.356 MB / 0.9403 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004427/0.8171, allocations: 183.3 kB / 0.9405 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.8173, allocations: 23.94 kB / 0.9405 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/0.8179, allocations: 23.98 kB / 0.9406 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.818, allocations: 40.58 kB / 0.9406 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.752e-05/0.818, allocations: 23.98 kB / 0.9406 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0005312/0.8186, allocations: 415.1 kB / 0.941 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8186, allocations: 0 / 0.941 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001006/0.8196, allocations: 379.2 kB / 0.9414 GB, free: 7.344 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.002512/0.8221, allocations: 1.977 MB / 0.9433 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001323/0.8234, allocations: 0.7669 MB / 0.9441 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8234, allocations: 0 / 0.9441 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006503/0.8241, allocations: 407.6 kB / 0.9444 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.8266, allocations: 0.5853 MB / 0.945 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.8375, allocations: 7.285 MB / 0.9521 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/0.8381, allocations: 0.5427 MB / 0.9527 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001137/0.8393, allocations: 271.1 kB / 0.9529 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006082/0.8399, allocations: 379.3 kB / 0.9533 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of SimCode: time 1.202e-06/0.8399, allocations: 0 / 0.9533 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06017/0.9001, allocations: 28.54 MB / 0.9811 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/13.25, allocations: 11.98 kB / 0.9812 GB, free: 14.96 MB / 0.7637 GB " [Timeout remaining time 647] (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.99229240801651] Failed to read output from testmodel.py, exit status != 0: 13.429365804069676 13.445250476 12.668035588 Calling exit ...