Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.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.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") translateModel(BuildingSystems.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7858/0.7858, allocations: 143.8 MB / 159.1 MB, free: 6.492 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.001317/0.001318, allocations: 183.3 kB / 192 MB, free: 6.734 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.506/1.506, allocations: 225.7 MB / 450.4 MB, free: 5.012 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.0009933/0.0009932, allocations: 114.2 kB / 0.5211 GB, free: 1.664 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.001913/0.001912, allocations: 279.6 kB / 0.6025 GB, free: 49.31 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004359, allocations: 14.34 kB / 0.6948 GB, free: 59.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1715, allocations: 82.46 MB / 0.7753 GB, free: 14.39 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.6027/0.7743, allocations: 163.8 MB / 0.9352 GB, free: 8.492 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004657/0.779, allocations: 3.15 MB / 0.9383 GB, free: 7.156 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006819/0.7797, allocations: 10.81 kB / 0.9383 GB, free: 7.152 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008032/0.7805, allocations: 191.8 kB / 0.9385 GB, free: 7.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.002665/0.7832, allocations: 0.8483 MB / 0.9393 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.7859, allocations: 0.7745 MB / 0.9401 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002299/0.7882, allocations: 1.344 MB / 0.9414 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006102/0.7888, allocations: 281.2 kB / 0.9417 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009078/0.7897, allocations: 423.7 kB / 0.9421 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003974/0.7901, allocations: 316.7 kB / 0.9424 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.7902, allocations: 18.75 kB / 0.9424 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.7926, allocations: 1.151 MB / 0.9435 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.7928, allocations: 136.1 kB / 0.9437 GB, free: 6.043 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002631/0.7931, allocations: 248.6 kB / 0.9439 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.7947, allocations: 0.9501 MB / 0.9448 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.7947, allocations: 0 / 0.9448 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7948, allocations: 0 / 0.9448 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.7948, allocations: 0 / 0.9448 GB, free: 5.641 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.00122/0.796, allocations: 0.7281 MB / 0.9455 GB, free: 5.047 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.7961, allocations: 15.23 kB / 0.9456 GB, free: 5.043 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001151/0.7972, allocations: 181.3 kB / 0.9457 GB, free: 4.969 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005743/0.7978, allocations: 375.7 kB / 0.9461 GB, free: 4.676 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/0.7978, allocations: 26.62 kB / 0.9461 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.7979, allocations: 28.53 kB / 0.9461 GB, free: 4.672 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.7986, allocations: 378.5 kB / 0.9465 GB, free: 4.512 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.7987, allocations: 3.938 kB / 0.9465 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.7987, allocations: 12.31 kB / 0.9465 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.7987, allocations: 10.56 kB / 0.9465 GB, free: 4.508 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005097/0.7992, allocations: 269.4 kB / 0.9468 GB, free: 4.457 MB / 0.5573 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.001828/0.8011, allocations: 1.679 MB / 0.9484 GB, free: 3.109 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/0.8015, allocations: 214.3 kB / 0.9486 GB, free: 3.055 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.8018, allocations: 115.6 kB / 0.9487 GB, free: 3.031 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/0.8029, allocations: 0.8829 MB / 0.9496 GB, free: 2.055 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.391e-05/0.8029, allocations: 44.19 kB / 0.9496 GB, free: 2.008 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=23): time 3.156e-06/0.803, allocations: 0 / 0.9496 GB, free: 2.008 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.0008721/0.8038, allocations: 371.8 kB / 0.95 GB, free: 1.902 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.8039, allocations: 54.22 kB / 0.95 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004131/0.8043, allocations: 416.4 kB / 0.9504 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.8043, allocations: 31.89 kB / 0.9505 GB, free: 1.641 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.8045, allocations: 214.9 kB / 0.9507 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.783e-05/0.8046, allocations: 78.28 kB / 0.9508 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.8046, allocations: 5.719 kB / 0.9508 GB, free: 1.465 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.8047, allocations: 358 kB / 0.9511 GB, free: 1.133 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.8049, allocations: 84.45 kB / 0.9512 GB, free: 1.117 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.8051, allocations: 137.3 kB / 0.9513 GB, free: 1.059 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.8055, allocations: 216.3 kB / 0.9515 GB, free: 1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.8055, allocations: 0 / 0.9515 GB, free: 1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004843/0.806, allocations: 294.8 kB / 0.9518 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.806, allocations: 5.375 kB / 0.9518 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.806, allocations: 0 / 0.9518 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.8061, allocations: 2.531 kB / 0.9518 GB, free: 0.9062 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.8063, allocations: 58.75 kB / 0.9519 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.8063, allocations: 1.688 kB / 0.9519 GB, free: 0.8945 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/0.8066, allocations: 45.27 kB / 0.9519 GB, free: 0.8711 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.8066, allocations: 17.36 kB / 0.9519 GB, free: 0.8633 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (28): * Single equations (assignments): 28 * 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.0001561/0.8068, allocations: 159.4 kB / 0.9521 GB, free: 0.7422 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.193e-05/0.8068, allocations: 45.69 kB / 0.9521 GB, free: 0.7188 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000533/0.8074, allocations: 297.8 kB / 0.9524 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.8074, allocations: 2.781 kB / 0.9524 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.8074, allocations: 0 / 0.9524 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8074, allocations: 0 / 0.9524 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.8086, allocations: 0.8221 MB / 0.9532 GB, free: 124 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.8086, allocations: 4.922 kB / 0.9532 GB, free: 124 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.8088, allocations: 55.22 kB / 0.9533 GB, free: 108 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.8088, allocations: 2.906 kB / 0.9533 GB, free: 108 kB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.8088, allocations: 6.188 kB / 0.9533 GB, free: 108 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.8089, allocations: 2.844 kB / 0.9533 GB, free: 108 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.8089, allocations: 5.094 kB / 0.9533 GB, free: 108 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007651/0.8096, allocations: 0.5181 MB / 0.9538 GB, free: 15.84 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.8098, allocations: 147.5 kB / 0.9539 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.8099, allocations: 4.969 kB / 0.9539 GB, free: 15.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.8101, allocations: 37 kB / 0.954 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.8102, allocations: 12.89 kB / 0.954 GB, free: 15.69 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.8102, allocations: 12.97 kB / 0.954 GB, free: 15.69 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002841/0.8105, allocations: 298.9 kB / 0.9543 GB, free: 15.57 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8105, allocations: 3.25 kB / 0.9543 GB, free: 15.57 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000418/0.8109, allocations: 114.9 kB / 0.9544 GB, free: 15.55 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (ori.mExc,den1.d,den2.d) * 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 (23): * Single equations (assignments): 23 * 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.0004582/0.8114, allocations: 209.9 kB / 0.9546 GB, free: 15.42 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004493/0.8119, allocations: 217 kB / 0.9548 GB, free: 15.38 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8119, allocations: 2.656 kB / 0.9548 GB, free: 15.38 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002133/0.8121, allocations: 119.1 kB / 0.9549 GB, free: 15.36 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.8132, allocations: 212.1 kB / 0.9551 GB, free: 15.29 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.8148, allocations: 1.108 MB / 0.9562 GB, free: 14.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.8152, allocations: 0.8317 MB / 0.957 GB, free: 13.75 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002864/0.8155, allocations: 77.89 kB / 0.9571 GB, free: 13.71 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.253e-05/0.8156, allocations: 36.3 kB / 0.9571 GB, free: 13.7 MB / 0.573 GB Notification: Performance of SimCode: time 3.01e-07/0.8156, allocations: 0 / 0.9571 GB, free: 13.7 MB / 0.573 GB Notification: Performance of Templates: time 0.01326/0.8289, allocations: 7.656 MB / 0.9646 GB, free: 9.938 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)