Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") translateModel(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8316/0.8316, allocations: 143.8 MB / 159.1 MB, free: 6.512 MB / 122.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.001328/0.001328, allocations: 182.1 kB / 192 MB, free: 6.73 MB / 154.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.83/1.83, allocations: 225.7 MB / 450.4 MB, free: 4.988 MB / 330.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.001379/0.001379, allocations: 111.2 kB / 0.5211 GB, free: 1.652 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00163/0.00163, allocations: 272.5 kB / 0.6025 GB, free: 49.3 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.0005007, allocations: 16.14 kB / 0.6948 GB, free: 59.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1624, allocations: 82.46 MB / 0.7753 GB, free: 14.36 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.ZonalFlow): time 0.576/0.7384, allocations: 196.6 MB / 0.9672 GB, free: 15.13 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01215/0.7506, allocations: 8.632 MB / 0.9757 GB, free: 9.691 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.7524, allocations: 30.25 kB / 0.9757 GB, free: 9.68 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001917/0.7544, allocations: 0.6398 MB / 0.9763 GB, free: 9.285 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.007167/0.7615, allocations: 2.509 MB / 0.9788 GB, free: 7.809 MB / 0.573 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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.002004/0.7636, allocations: 0.6267 MB / 0.9794 GB, free: 7.582 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005827/0.7694, allocations: 4.816 MB / 0.9841 GB, free: 5.965 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001596/0.771, allocations: 0.9074 MB / 0.985 GB, free: 5.633 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002419/0.7734, allocations: 1.09 MB / 0.986 GB, free: 5.305 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002537/0.776, allocations: 1.097 MB / 0.9871 GB, free: 4.848 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.7761, allocations: 57.28 kB / 0.9872 GB, free: 4.848 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005325/0.7815, allocations: 2.672 MB / 0.9898 GB, free: 3.734 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005706/0.7821, allocations: 433.6 kB / 0.9902 GB, free: 3.547 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.7836, allocations: 0.6712 MB / 0.9909 GB, free: 3.289 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.005649/0.7893, allocations: 2.863 MB / 0.9936 GB, free: 1.812 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.7893, allocations: 0 / 0.9936 GB, free: 1.812 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.655e-06/0.7893, allocations: 0 / 0.9936 GB, free: 1.812 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.744e-05/0.7893, allocations: 0 / 0.9936 GB, free: 1.812 MB / 0.573 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.00368/0.793, allocations: 1.515 MB / 0.9951 GB, free: 0.7969 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.7931, allocations: 10.53 kB / 0.9951 GB, free: 0.7969 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002038/0.7951, allocations: 351.2 kB / 0.9955 GB, free: 0.6523 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.7964, allocations: 0.836 MB / 0.9963 GB, free: 168 kB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.189e-05/0.7965, allocations: 77.45 kB / 0.9964 GB, free: 164 kB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.7966, allocations: 100.4 kB / 0.9965 GB, free: 160 kB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.7985, allocations: 1.181 MB / 0.9976 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.452e-05/0.7985, allocations: 0 / 0.9976 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.7987, allocations: 46.48 kB / 0.9977 GB, free: 15.84 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.08e-05/0.7987, allocations: 55.77 kB / 0.9977 GB, free: 15.83 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.8006, allocations: 1.235 MB / 0.9989 GB, free: 15.6 MB / 0.5886 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.006513/0.8071, allocations: 5.058 MB / 1.004 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/0.8085, allocations: 1.148 MB / 1.005 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006714/0.8092, allocations: 0.51 MB / 1.005 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.854e-05/0.8093, allocations: 12.8 kB / 1.005 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007302/0.81, allocations: 481.3 kB / 1.006 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=76): time 3.747e-06/0.81, allocations: 0 / 1.006 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=76): time 0.00195/0.812, allocations: 1.148 MB / 1.007 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.8121, allocations: 68 kB / 1.007 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006976/0.8128, allocations: 0.5576 MB / 1.008 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.102e-05/0.8128, allocations: 41.2 kB / 1.008 GB, free: 9.332 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000342/0.8132, allocations: 459.6 kB / 1.008 GB, free: 9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002525/0.8134, allocations: 272.1 kB / 1.008 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.8135, allocations: 9.688 kB / 1.008 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002098/0.8137, allocations: 385.8 kB / 1.009 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/0.8142, allocations: 323.8 kB / 1.009 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/0.8148, allocations: 461.4 kB / 1.01 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.8159, allocations: 0.8185 MB / 1.01 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.8159, allocations: 0 / 1.01 GB, free: 7.316 MB / 0.5886 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001349/0.8173, allocations: 0.9152 MB / 1.011 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.8173, allocations: 8 kB / 1.011 GB, free: 6.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.8174, allocations: 4.328 kB / 1.011 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.8174, allocations: 12 kB / 1.011 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006695/0.8181, allocations: 154.2 kB / 1.011 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.8181, allocations: 11.94 kB / 1.011 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.8192, allocations: 135 kB / 1.012 GB, free: 6.383 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.8192, allocations: 22.5 kB / 1.012 GB, free: 6.367 MB / 0.5886 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.0005459/0.8198, allocations: 332.9 kB / 1.012 GB, free: 6.125 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001279/0.8199, allocations: 79.06 kB / 1.012 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.8201, allocations: 105.1 kB / 1.012 GB, free: 6.004 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.8201, allocations: 11.94 kB / 1.012 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.596e-05/0.8202, allocations: 7.938 kB / 1.012 GB, free: 5.984 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001343/0.8215, allocations: 1.08 MB / 1.013 GB, free: 5.082 MB / 0.5886 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.003427/0.825, allocations: 2.314 MB / 1.015 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.825, allocations: 4 kB / 1.015 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008117/0.8258, allocations: 179.4 kB / 1.016 GB, free: 3.176 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.8258, allocations: 4 kB / 1.016 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/0.8259, allocations: 17.73 kB / 1.016 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.608e-06/0.8259, allocations: 7.984 kB / 1.016 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.8259, allocations: 0 / 1.016 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.8279, allocations: 1.477 MB / 1.017 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004176/0.8283, allocations: 255.1 kB / 1.017 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.8284, allocations: 19.44 kB / 1.017 GB, free: 1.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007479/0.8292, allocations: 102.1 kB / 1.017 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.394e-05/0.8293, allocations: 42.53 kB / 1.017 GB, free: 1.797 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.633e-05/0.8293, allocations: 25.61 kB / 1.017 GB, free: 1.777 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004808/0.8298, allocations: 402.3 kB / 1.018 GB, free: 1.477 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8298, allocations: 0 / 1.018 GB, free: 1.477 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001003/0.8308, allocations: 364.8 kB / 1.018 GB, free: 1.141 MB / 0.5886 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 (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.0003571/0.8312, allocations: 182.8 kB / 1.018 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.8325, allocations: 0.7987 MB / 1.019 GB, free: 436 kB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.8326, allocations: 3.938 kB / 1.019 GB, free: 432 kB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005791/0.8331, allocations: 419.9 kB / 1.02 GB, free: 144 kB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002526/0.8357, allocations: 0.5652 MB / 1.02 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004747/0.8404, allocations: 2.709 MB / 1.023 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.8416, allocations: 1.134 MB / 1.024 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001274/0.8429, allocations: 275.6 kB / 1.024 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.8432, allocations: 74.69 kB / 1.024 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of SimCode: time 1.212e-06/0.8432, allocations: 0 / 1.024 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.03464/0.8778, allocations: 18.22 MB / 1.042 GB, free: 9.816 MB / 0.6198 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)