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.001458/0.001458, 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.00171/0.00171, allocations: 216.8 kB / 22.25 MB, free: 4.855 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.785 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.9116/0.9116, allocations: 145 MB / 457.4 MB, free: 15.29 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_Examples_ZonalFlow",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.002046/0.002046, allocations: 67.41 kB / 0.6331 GB, free: 6.734 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1886, allocations: 87.89 MB / 0.7189 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.5927/0.7813, allocations: 180.9 MB / 0.8956 GB, free: 6.105 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01018/0.7915, allocations: 5.999 MB / 0.9014 GB, free: 92 kB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.7929, allocations: 47.69 kB / 0.9015 GB, free: 44 kB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.7948, allocations: 0.6994 MB / 0.9022 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007393/0.8022, allocations: 2.801 MB / 0.9049 GB, free: 12.52 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.002146/0.8043, allocations: 0.7304 MB / 0.9056 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004294/0.8086, allocations: 3.319 MB / 0.9089 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.8097, allocations: 0.8025 MB / 0.9096 GB, free: 7.652 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002116/0.8118, allocations: 1.327 MB / 0.9109 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002075/0.8139, allocations: 1.13 MB / 0.912 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.8141, allocations: 128 kB / 0.9122 GB, free: 5.074 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003723/0.8178, allocations: 1.917 MB / 0.914 GB, free: 3.152 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000558/0.8184, allocations: 0.5336 MB / 0.9146 GB, free: 2.617 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007457/0.8191, allocations: 0.6226 MB / 0.9152 GB, free: 1.992 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003873/0.823, allocations: 2.804 MB / 0.9179 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.823, allocations: 4 kB / 0.9179 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.543e-06/0.823, allocations: 0 / 0.9179 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.823, allocations: 0 / 0.9179 GB, free: 15.18 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.003827/0.8269, allocations: 1.734 MB / 0.9196 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.8269, allocations: 12.03 kB / 0.9196 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002027/0.8271, allocations: 160.6 kB / 0.9198 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002107/0.8292, allocations: 359.5 kB / 0.9201 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.8308, allocations: 0.8102 MB / 0.9209 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.621e-05/0.8309, allocations: 78.02 kB / 0.921 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.831, allocations: 108 kB / 0.9211 GB, free: 11.85 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.8331, allocations: 1.388 MB / 0.9224 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.8332, allocations: 4 kB / 0.9224 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.816e-05/0.8333, allocations: 36 kB / 0.9225 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-05/0.8334, allocations: 66.56 kB / 0.9225 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001977/0.8353, allocations: 1.238 MB / 0.9237 GB, free: 9.027 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.006011/0.8413, allocations: 3.126 MB / 0.9268 GB, free: 5.84 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.8428, allocations: 0.8289 MB / 0.9276 GB, free: 5 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007369/0.8435, allocations: 489.2 kB / 0.9281 GB, free: 4.523 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 5.313e-05/0.8436, allocations: 16.59 kB / 0.9281 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008939/0.8445, allocations: 0.6853 MB / 0.9288 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=76): time 3.106e-06/0.8445, allocations: 0 / 0.9288 GB, free: 3.762 MB / 0.7012 GB Notification: Performance of matching and sorting (n=76): time 0.002077/0.8466, allocations: 1.157 MB / 0.9299 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.8466, allocations: 64.06 kB / 0.93 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006839/0.8473, allocations: 0.5822 MB / 0.9305 GB, free: 1.934 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/0.8474, allocations: 37.7 kB / 0.9306 GB, free: 1.891 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.8477, allocations: 472.6 kB / 0.931 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002631/0.848, allocations: 285.7 kB / 0.9313 GB, free: 1.141 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.8482, allocations: 126.6 kB / 0.9314 GB, free: 1.008 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.8484, allocations: 386.8 kB / 0.9318 GB, free: 0.6211 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/0.8489, allocations: 337.8 kB / 0.9321 GB, free: 300 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.8495, allocations: 454.2 kB / 0.9325 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.8507, allocations: 0.8233 MB / 0.9333 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.8507, allocations: 0 / 0.9333 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001429/0.8521, allocations: 0.9301 MB / 0.9342 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.8521, allocations: 8 kB / 0.9342 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.8522, allocations: 3.938 kB / 0.9342 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.8522, allocations: 11.94 kB / 0.9343 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006704/0.8528, allocations: 155.8 kB / 0.9344 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.8529, allocations: 8 kB / 0.9344 GB, free: 13.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006783/0.8535, allocations: 63.86 kB / 0.9345 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.8536, allocations: 31.98 kB / 0.9345 GB, free: 13.73 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.0004693/0.8541, allocations: 329.5 kB / 0.9348 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.8542, allocations: 83.48 kB / 0.9349 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002418/0.8544, allocations: 115.7 kB / 0.935 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.8544, allocations: 4 kB / 0.935 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.8544, allocations: 4 kB / 0.935 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001357/0.8558, allocations: 1.085 MB / 0.9361 GB, free: 12.02 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.003216/0.859, allocations: 2.026 MB / 0.9381 GB, free: 9.941 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.859, allocations: 4.031 kB / 0.9381 GB, free: 9.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008294/0.8599, allocations: 175.8 kB / 0.9382 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.8599, allocations: 0 / 0.9382 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.542e-05/0.8599, allocations: 24.48 kB / 0.9383 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.8599, allocations: 4 kB / 0.9383 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.8599, allocations: 0 / 0.9383 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.8618, allocations: 1.363 MB / 0.9396 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004581/0.8623, allocations: 175.3 kB / 0.9398 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.8624, allocations: 20 kB / 0.9398 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005992/0.863, allocations: 23.98 kB / 0.9398 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.8631, allocations: 44.56 kB / 0.9398 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.8631, allocations: 20 kB / 0.9399 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004842/0.8636, allocations: 419 kB / 0.9403 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.8636, allocations: 0 / 0.9403 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0008308/0.8644, allocations: 371.3 kB / 0.9406 GB, free: 7.309 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.002389/0.8668, allocations: 1.974 MB / 0.9425 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001173/0.868, allocations: 0.7669 MB / 0.9433 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.868, allocations: 0 / 0.9433 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000568/0.8686, allocations: 411.5 kB / 0.9437 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/0.8711, allocations: 0.5968 MB / 0.9443 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009734/0.8808, allocations: 7.279 MB / 0.9514 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006072/0.8814, allocations: 0.5466 MB / 0.9519 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008835/0.8823, allocations: 275.1 kB / 0.9522 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000562/0.8829, allocations: 383.3 kB / 0.9525 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of SimCode: time 8.81e-07/0.8829, allocations: 0 / 0.9525 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06403/0.9469, allocations: 28.76 MB / 0.9806 GB, free: 14.69 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.85, allocations: 11.91 kB / 0.9806 GB, free: 14.68 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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.Examples.ZonalFlow_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 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.620349497999996] Failed to read output from testmodel.py, exit status != 0: 12.980415674857795 13.006177853 12.178705806 Calling exit ...