Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.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.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") translateModel(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8411/0.8411, allocations: 143.8 MB / 159.1 MB, free: 6.496 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.001245/0.001245, allocations: 190.1 kB / 192 MB, free: 6.699 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.558/1.558, allocations: 225.7 MB / 450.4 MB, free: 4.938 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.001007/0.001007, allocations: 107.3 kB / 0.5211 GB, free: 1.602 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.001799/0.001799, allocations: 278.4 kB / 0.6025 GB, free: 49.29 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005089/0.0005089, allocations: 18.22 kB / 0.6948 GB, free: 59.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.1843, allocations: 82.47 MB / 0.7753 GB, free: 14.35 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation): time 0.5616/0.7459, allocations: 194.1 MB / 0.9649 GB, free: 436 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01368/0.7597, allocations: 10.3 MB / 0.975 GB, free: 9.742 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.7616, allocations: 31.03 kB / 0.975 GB, free: 9.73 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.002014/0.7636, allocations: 0.6032 MB / 0.9756 GB, free: 9.352 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.006693/0.7703, allocations: 2.22 MB / 0.9777 GB, free: 8.023 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003652/0.774, allocations: 1.154 MB / 0.9789 GB, free: 7.516 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005272/0.7793, allocations: 4.136 MB / 0.9829 GB, free: 6.141 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001291/0.7806, allocations: 0.7776 MB / 0.9837 GB, free: 5.836 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.7826, allocations: 0.882 MB / 0.9845 GB, free: 5.594 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002466/0.7851, allocations: 0.961 MB / 0.9855 GB, free: 5.203 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.000157/0.7853, allocations: 49.31 kB / 0.9855 GB, free: 5.203 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005498/0.7908, allocations: 2.445 MB / 0.9879 GB, free: 4.191 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0005842/0.7914, allocations: 377.5 kB / 0.9883 GB, free: 4.02 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009986/0.7924, allocations: 0.6117 MB / 0.9889 GB, free: 3.77 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004627/0.797, allocations: 2.488 MB / 0.9913 GB, free: 2.469 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.7971, allocations: 3.25 kB / 0.9913 GB, free: 2.469 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7971, allocations: 0 / 0.9913 GB, free: 2.469 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.076e-05/0.7971, allocations: 4 kB / 0.9913 GB, free: 2.465 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.003061/0.8002, allocations: 1.396 MB / 0.9927 GB, free: 1.496 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.8002, allocations: 7.969 kB / 0.9927 GB, free: 1.496 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/0.8025, allocations: 374.8 kB / 0.993 GB, free: 1.348 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.8038, allocations: 0.8032 MB / 0.9938 GB, free: 0.8594 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.548e-05/0.8039, allocations: 70.14 kB / 0.9939 GB, free: 0.8477 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.804, allocations: 85.28 kB / 0.994 GB, free: 0.8477 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.8056, allocations: 1.034 MB / 0.995 GB, free: 0.5234 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.8056, allocations: 6.922 kB / 0.995 GB, free: 0.5195 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.752e-05/0.8057, allocations: 35.56 kB / 0.995 GB, free: 0.5195 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-05/0.8058, allocations: 44.5 kB / 0.995 GB, free: 0.5117 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.8072, allocations: 0.8819 MB / 0.9959 GB, free: 368 kB / 0.573 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.005046/0.8123, allocations: 4.3 MB / 1 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.8134, allocations: 0.6988 MB / 1.001 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007166/0.8141, allocations: 445.3 kB / 1.001 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006587/0.8148, allocations: 0.6815 MB / 1.002 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.8148, allocations: 39.78 kB / 1.002 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=70): time 4.298e-06/0.8148, allocations: 0 / 1.002 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=70): time 0.002005/0.8168, allocations: 0.9923 MB / 1.003 GB, free: 12.08 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.8169, allocations: 59.91 kB / 1.003 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008727/0.8178, allocations: 0.6254 MB / 1.004 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.333e-05/0.8179, allocations: 40.48 kB / 1.004 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.8182, allocations: 428 kB / 1.004 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/0.8184, allocations: 249.2 kB / 1.004 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.314e-05/0.8185, allocations: 12.16 kB / 1.004 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.8187, allocations: 390.2 kB / 1.005 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004339/0.8191, allocations: 272.1 kB / 1.005 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004963/0.8196, allocations: 370.7 kB / 1.005 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009879/0.8206, allocations: 0.6599 MB / 1.006 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.8206, allocations: 0 / 1.006 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00125/0.8219, allocations: 0.7849 MB / 1.007 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.8219, allocations: 8.188 kB / 1.007 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.8219, allocations: 4 kB / 1.007 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.8219, allocations: 7.984 kB / 1.007 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006919/0.8226, allocations: 146.7 kB / 1.007 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.8227, allocations: 4 kB / 1.007 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.8237, allocations: 98.31 kB / 1.007 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.8237, allocations: 31.19 kB / 1.007 GB, free: 9.691 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0004687/0.8242, allocations: 287.5 kB / 1.007 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.8243, allocations: 79.06 kB / 1.007 GB, free: 9.402 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.8256, allocations: 0.7925 MB / 1.008 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/0.8256, allocations: 8 kB / 1.008 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.8256, allocations: 3.938 kB / 1.008 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001018/0.8267, allocations: 0.8213 MB / 1.009 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002735/0.8294, allocations: 1.843 MB / 1.011 GB, free: 6.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.8294, allocations: 3.938 kB / 1.011 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008422/0.8303, allocations: 166.2 kB / 1.011 GB, free: 6.719 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.013e-05/0.8303, allocations: 4 kB / 1.011 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/0.8304, allocations: 15.62 kB / 1.011 GB, free: 6.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.8304, allocations: 7.938 kB / 1.011 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.8304, allocations: 0 / 1.011 GB, free: 6.703 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.8321, allocations: 1.278 MB / 1.012 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004694/0.8326, allocations: 240.7 kB / 1.012 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.8327, allocations: 19.17 kB / 1.012 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007293/0.8335, allocations: 75.09 kB / 1.012 GB, free: 5.527 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.8336, allocations: 47.47 kB / 1.012 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.8337, allocations: 21.44 kB / 1.012 GB, free: 5.469 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005849/0.8343, allocations: 449.4 kB / 1.013 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8343, allocations: 0 / 1.013 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0009244/0.8352, allocations: 340.2 kB / 1.013 GB, free: 4.824 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 70 * 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.0003398/0.8355, allocations: 195.8 kB / 1.013 GB, free: 4.637 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.8366, allocations: 0.68 MB / 1.014 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8366, allocations: 384 / 1.014 GB, free: 4.168 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.8372, allocations: 371.5 kB / 1.014 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/0.8395, allocations: 0.5203 MB / 1.015 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.8429, allocations: 2.685 MB / 1.018 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.8436, allocations: 1.087 MB / 1.019 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008984/0.8445, allocations: 219.3 kB / 1.019 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002025/0.8447, allocations: 70.69 kB / 1.019 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/0.8447, allocations: 0 / 1.019 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of Templates: time 0.02643/0.8711, allocations: 17.44 MB / 1.036 GB, free: 14.45 MB / 0.6198 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)