Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") translateModel(Buildings.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.458/1.458, allocations: 291.7 MB / 306.8 MB, free: 7.672 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009116/0.0009118, allocations: 197.4 kB / 375.4 MB, free: 5.094 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 225.7 MB / 0.6538 GB, free: 13.6 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007873/0.0007873, allocations: 96.16 kB / 0.7699 GB, free: 50.34 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003356, allocations: 15.62 kB / 0.8956 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5025/0.5029, allocations: 118.1 MB / 1.011 GB, free: 58 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ZonalFlow): time 0.1564/0.6593, allocations: 185.9 MB / 1.192 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.008294/0.6676, allocations: 5.901 MB / 1.198 GB, free: 7.734 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008662/0.6685, allocations: 28.84 kB / 1.198 GB, free: 7.723 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.6698, allocations: 490.6 kB / 1.199 GB, free: 7.465 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004499/0.6743, allocations: 1.931 MB / 1.201 GB, free: 6.422 MB / 0.7917 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.001229/0.6755, allocations: 499.7 kB / 1.201 GB, free: 6.18 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.003913/0.6795, allocations: 4.011 MB / 1.205 GB, free: 4.668 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.6805, allocations: 0.9017 MB / 1.206 GB, free: 4.344 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.6822, allocations: 1.051 MB / 1.207 GB, free: 3.957 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.6834, allocations: 1.054 MB / 1.208 GB, free: 3.578 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.6835, allocations: 55.97 kB / 1.208 GB, free: 3.578 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.6863, allocations: 1.128 MB / 1.209 GB, free: 3.211 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003949/0.6867, allocations: 445.3 kB / 1.209 GB, free: 3.078 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0003057/0.687, allocations: 291.8 kB / 1.21 GB, free: 2.93 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001636/0.6886, allocations: 1.831 MB / 1.212 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6887, allocations: 0 / 1.212 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6887, allocations: 3.938 kB / 1.212 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.6887, allocations: 0 / 1.212 GB, free: 2.512 MB / 0.7917 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.003125/0.6918, allocations: 1.526 MB / 1.213 GB, free: 1.586 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.6919, allocations: 8.969 kB / 1.213 GB, free: 1.586 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.6937, allocations: 343 kB / 1.213 GB, free: 1.5 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.6951, allocations: 0.8325 MB / 1.214 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-05/0.6952, allocations: 74.77 kB / 1.214 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.6953, allocations: 104.4 kB / 1.214 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/0.6973, allocations: 1.175 MB / 1.215 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.6974, allocations: 1.031 kB / 1.215 GB, free: 460 kB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.6975, allocations: 45.17 kB / 1.216 GB, free: 424 kB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-05/0.6975, allocations: 64.92 kB / 1.216 GB, free: 412 kB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.6996, allocations: 1.232 MB / 1.217 GB, free: 15.99 MB / 0.8073 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.006331/0.706, allocations: 5.062 MB / 1.222 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.7074, allocations: 1.142 MB / 1.223 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007336/0.7081, allocations: 0.5041 MB / 1.223 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.83e-05/0.7082, allocations: 19.72 kB / 1.223 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007362/0.7089, allocations: 484.1 kB / 1.224 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=76): time 2.425e-06/0.7089, allocations: 1.25 kB / 1.224 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of matching and sorting (n=76): time 0.001835/0.7108, allocations: 1.144 MB / 1.225 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.7108, allocations: 63.97 kB / 1.225 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00065/0.7115, allocations: 0.5642 MB / 1.226 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/0.7115, allocations: 38.33 kB / 1.226 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/0.7119, allocations: 464 kB / 1.226 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.7121, allocations: 271.5 kB / 1.226 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.7121, allocations: 11.16 kB / 1.226 GB, free: 9.871 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.7123, allocations: 384.1 kB / 1.227 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/0.7128, allocations: 328.3 kB / 1.227 GB, free: 9.402 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/0.7133, allocations: 457.6 kB / 1.227 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.7144, allocations: 0.8223 MB / 1.228 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7144, allocations: 0.8438 kB / 1.228 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001298/0.7157, allocations: 0.9151 MB / 1.229 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.7158, allocations: 8 kB / 1.229 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7158, allocations: 0.5625 kB / 1.229 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.7158, allocations: 8.344 kB / 1.229 GB, free: 7.414 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006264/0.7164, allocations: 161.5 kB / 1.229 GB, free: 7.273 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.7165, allocations: 12.55 kB / 1.229 GB, free: 7.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009335/0.7174, allocations: 134.6 kB / 1.229 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.838e-05/0.7175, allocations: 27.7 kB / 1.229 GB, free: 7.129 MB / 0.8073 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004093/0.7179, allocations: 333 kB / 1.23 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.718, allocations: 79.77 kB / 1.23 GB, free: 6.742 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.7182, allocations: 107.8 kB / 1.23 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.7182, allocations: 12.64 kB / 1.23 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.896e-06/0.7182, allocations: 4 kB / 1.23 GB, free: 6.629 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001221/0.7194, allocations: 1.081 MB / 1.231 GB, free: 5.543 MB / 0.8073 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.003096/0.7225, allocations: 2.295 MB / 1.233 GB, free: 3.539 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.7226, allocations: 0 / 1.233 GB, free: 3.539 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008036/0.7234, allocations: 185.3 kB / 1.233 GB, free: 3.383 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.7234, allocations: 6.188 kB / 1.233 GB, free: 3.379 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/0.7234, allocations: 13.27 kB / 1.233 GB, free: 3.367 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.7234, allocations: 4.656 kB / 1.233 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.7234, allocations: 2.297 kB / 1.233 GB, free: 3.363 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.7253, allocations: 1.478 MB / 1.235 GB, free: 2.016 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.7256, allocations: 259.1 kB / 1.235 GB, free: 1.766 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.815e-05/0.7257, allocations: 17.27 kB / 1.235 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007146/0.7265, allocations: 92.08 kB / 1.235 GB, free: 1.684 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.016e-05/0.7266, allocations: 44.73 kB / 1.235 GB, free: 1.652 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.7266, allocations: 31.27 kB / 1.235 GB, free: 1.625 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004261/0.7271, allocations: 405.1 kB / 1.236 GB, free: 1.289 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7271, allocations: 0 / 1.236 GB, free: 1.289 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007886/0.7279, allocations: 367.7 kB / 1.236 GB, free: 0.9297 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002244/0.7281, allocations: 178.3 kB / 1.236 GB, free: 0.7539 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001094/0.7292, allocations: 0.8 MB / 1.237 GB, free: 48 kB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7292, allocations: 0 / 1.237 GB, free: 48 kB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0005636/0.7298, allocations: 430.1 kB / 1.237 GB, free: 15.67 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/0.7322, allocations: 0.5643 MB / 1.238 GB, free: 15.29 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003125/0.7353, allocations: 2.665 MB / 1.241 GB, free: 12.89 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007343/0.736, allocations: 1.135 MB / 1.242 GB, free: 11.88 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000934/0.737, allocations: 269.5 kB / 1.242 GB, free: 11.67 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.7372, allocations: 79.19 kB / 1.242 GB, free: 11.6 MB / 0.823 GB Notification: Performance of SimCode: time 3.01e-07/0.7372, allocations: 0 / 1.242 GB, free: 11.6 MB / 0.823 GB Notification: Performance of Templates: time 0.02524/0.7624, allocations: 17.66 MB / 1.259 GB, free: 11.71 MB / 0.8386 GB make -j1 -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.sim & ./Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)