Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep") translateModel(Buildings.Airflow.Multizone.Examples.CO2TransportStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.296/2.296, allocations: 254.9 MB / 269.9 MB, free: 9.629 MB / 218.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.001379/0.001379, allocations: 184.8 kB / 329.5 MB, free: 1.164 MB / 250.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 2.501/2.501, allocations: 225.6 MB / 0.6001 GB, free: 2.25 MB / 426.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.001008/0.001008, allocations: 98.91 kB / 0.7074 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004941/0.0004942, allocations: 10.56 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2054, allocations: 109.1 MB / 0.9307 GB, free: 25.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.CO2TransportStep): time 1.177/1.382, allocations: 269.6 MB / 1.194 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.04066/1.423, allocations: 19.68 MB / 1.213 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00383/1.427, allocations: 63.62 kB / 1.213 GB, free: 2.496 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.005874/1.433, allocations: 1.192 MB / 1.214 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0175/1.45, allocations: 4.452 MB / 1.219 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.009583/1.46, allocations: 2.135 MB / 1.221 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.01605/1.476, allocations: 9.666 MB / 1.23 GB, free: 0.9844 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00605/1.482, allocations: 2.503 MB / 1.233 GB, free: 14.44 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007672/1.49, allocations: 2.542 MB / 1.235 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007447/1.497, allocations: 2.858 MB / 1.238 GB, free: 9.023 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001415/1.499, allocations: 192 kB / 1.238 GB, free: 8.836 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01296/1.512, allocations: 2.907 MB / 1.241 GB, free: 5.922 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.003375/1.515, allocations: 1.488 MB / 1.243 GB, free: 4.43 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002438/1.518, allocations: 0.746 MB / 1.243 GB, free: 3.676 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.01176/1.529, allocations: 5.013 MB / 1.248 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/1.529, allocations: 0 / 1.248 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.665e-06/1.53, allocations: 0 / 1.248 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0002111/1.53, allocations: 0 / 1.248 GB, free: 14.65 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 814 * Number of variables: 814 Notification: Performance of Generate backend data structure: time 0.01799/1.548, allocations: 3.908 MB / 1.252 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.548, allocations: 12.03 kB / 1.252 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008839/1.557, allocations: 0.8816 MB / 1.253 GB, free: 9.773 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007/1.564, allocations: 1.992 MB / 1.255 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/1.564, allocations: 238.2 kB / 1.255 GB, free: 7.492 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00119/1.565, allocations: 327.9 kB / 1.255 GB, free: 7.172 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/1.578, allocations: 4.137 MB / 1.259 GB, free: 2.918 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001175/1.578, allocations: 4 kB / 1.259 GB, free: 2.914 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005905/1.579, allocations: 132 kB / 1.259 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002858/1.579, allocations: 166 kB / 1.26 GB, free: 2.621 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01429/1.594, allocations: 4.181 MB / 1.264 GB, free: 14.43 MB / 0.823 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.0322/1.626, allocations: 15.35 MB / 1.279 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009483/1.635, allocations: 3.504 MB / 1.282 GB, free: 10.33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005379/1.641, allocations: 1.885 MB / 1.284 GB, free: 8.434 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002641/1.644, allocations: 1.604 MB / 1.286 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005348/1.649, allocations: 1.702 MB / 1.287 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=304): time 7.404e-06/1.649, allocations: 0 / 1.287 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of matching and sorting (n=304): time 0.01541/1.664, allocations: 4.386 MB / 1.291 GB, free: 336 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.672e-05/1.665, allocations: 89.8 kB / 1.292 GB, free: 232 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003462/1.668, allocations: 1.546 MB / 1.293 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006337/1.669, allocations: 81.7 kB / 1.293 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001415/1.67, allocations: 1.152 MB / 1.294 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001771/1.672, allocations: 1.036 MB / 1.295 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000302/1.672, allocations: 56 kB / 1.295 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003051/1.673, allocations: 415.7 kB / 1.296 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004126/1.677, allocations: 1.27 MB / 1.297 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004692/1.682, allocations: 1.685 MB / 1.299 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004939/1.687, allocations: 1.548 MB / 1.3 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.046e-05/1.687, allocations: 0 / 1.3 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=355) (initialization): time 0.01141/1.698, allocations: 3.496 MB / 1.304 GB, free: 3.707 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.376e-05/1.698, allocations: 37.7 kB / 1.304 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/1.698, allocations: 8 kB / 1.304 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.9e-05/1.698, allocations: 20 kB / 1.304 GB, free: 3.637 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005671/1.704, allocations: 0.6087 MB / 1.304 GB, free: 3.027 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.52e-05/1.704, allocations: 27.94 kB / 1.304 GB, free: 3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005517/1.71, allocations: 430.8 kB / 1.305 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006425/1.71, allocations: 99.98 kB / 1.305 GB, free: 2.48 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (354): * Single equations (assignments): 353 * Array equations: 0 * Algorithm blocks: 1 * 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.002597/1.713, allocations: 0.7787 MB / 1.306 GB, free: 1.688 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009034/1.714, allocations: 253 kB / 1.306 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.725, allocations: 3.49 MB / 1.309 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.859e-05/1.726, allocations: 28 kB / 1.309 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/1.726, allocations: 0 / 1.309 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009442/1.735, allocations: 3.121 MB / 1.312 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02256/1.758, allocations: 7.15 MB / 1.319 GB, free: 3.328 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.914e-05/1.758, allocations: 7.938 kB / 1.319 GB, free: 3.32 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00962/1.767, allocations: 0.6206 MB / 1.32 GB, free: 2.699 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.527e-05/1.767, allocations: 15.94 kB / 1.32 GB, free: 2.684 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008527/1.768, allocations: 71.97 kB / 1.32 GB, free: 2.613 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.597e-05/1.768, allocations: 12 kB / 1.32 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/1.768, allocations: 8 kB / 1.32 GB, free: 2.594 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02492/1.793, allocations: 5.416 MB / 1.325 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004026/1.797, allocations: 0.677 MB / 1.326 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001527/1.799, allocations: 71.86 kB / 1.326 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007436/1.807, allocations: 271.3 kB / 1.326 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001252/1.808, allocations: 194 kB / 1.326 GB, free: 11.83 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008082/1.809, allocations: 91.97 kB / 1.326 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.004482/1.813, allocations: 1.051 MB / 1.328 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.894e-06/1.813, allocations: 0 / 1.328 GB, free: 10.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006927/1.82, allocations: 1.107 MB / 1.329 GB, free: 9.59 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 18 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],volEas.dynBal.mC[1],oriOutBot.mExc,oriOutTop.mExc,oriWesTop.mExc,dooOpeClo.mExcAB,dooOpeClo.mExcBA,volWes.dynBal.U,volWes.dynBal.m,volWes.dynBal.mXi[1],volWes.dynBal.mC[1],oriEasTop.mExc,volTop.dynBal.U,volTop.dynBal.m,volTop.dynBal.mXi[1],volTop.dynBal.mC[1]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 302 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002377/1.823, allocations: 462.8 kB / 1.329 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.01549/1.838, allocations: 3.219 MB / 1.332 GB, free: 5.895 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.551e-05/1.838, allocations: 0 / 1.332 GB, free: 5.895 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.008097/1.847, allocations: 1.709 MB / 1.334 GB, free: 4.184 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01695/1.864, allocations: 1.312 MB / 1.335 GB, free: 2.871 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02458/1.888, allocations: 8.284 MB / 1.343 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005421/1.894, allocations: 2.14 MB / 1.345 GB, free: 8.348 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.01049/1.904, allocations: 0.9976 MB / 1.346 GB, free: 7.344 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002789/1.907, allocations: 239.4 kB / 1.347 GB, free: 7.109 MB / 0.9011 GB Notification: Performance of SimCode: time 1.924e-06/1.907, allocations: 3.938 kB / 1.347 GB, free: 7.105 MB / 0.9011 GB Notification: Performance of Templates: time 0.7682/2.675, allocations: 50.49 MB / 1.396 GB, free: 312.4 MB / 0.9011 GB make -j1 -f Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.makefile (rm -f Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; mkfifo Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe >> ../files/Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.sim & ./Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.CO2TransportStep.pipe 2>&1)