Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001426, allocations: 111.5 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 189.6 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002156/0.002156, allocations: 283.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9935/0.9935, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002105/0.002105, allocations: 95.86 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5196/0.5217, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.2002/0.722, allocations: 173.8 MB / 0.9368 GB, free: 5.438 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.004874/0.7269, allocations: 2.303 MB / 0.939 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008907/0.7278, allocations: 11.94 kB / 0.939 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0009938/0.7289, allocations: 234.3 kB / 0.9392 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.7319, allocations: 0.9216 MB / 0.9401 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002584/0.7345, allocations: 0.834 MB / 0.941 GB, free: 1.129 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001745/0.7363, allocations: 0.9624 MB / 0.9419 GB, free: 168 kB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008096/0.7371, allocations: 341.7 kB / 0.9422 GB, free: 15.83 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.7383, allocations: 454.2 kB / 0.9427 GB, free: 15.39 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007141/0.7391, allocations: 314.7 kB / 0.943 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.7392, allocations: 32 kB / 0.943 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002271/0.7415, allocations: 0.9898 MB / 0.944 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002408/0.7417, allocations: 155.5 kB / 0.9441 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003976/0.7421, allocations: 234.9 kB / 0.9443 GB, free: 13.67 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002022/0.7442, allocations: 0.9076 MB / 0.9452 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.7442, allocations: 0 / 0.9452 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7442, allocations: 0 / 0.9452 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.476e-05/0.7442, allocations: 0 / 0.9452 GB, free: 12.76 MB / 0.7169 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.001725/0.746, allocations: 0.806 MB / 0.946 GB, free: 11.9 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.746, allocations: 12.03 kB / 0.946 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.7474, allocations: 183.2 kB / 0.9462 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008174/0.7483, allocations: 389.3 kB / 0.9466 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.7483, allocations: 32.59 kB / 0.9466 GB, free: 11.26 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.404e-05/0.7484, allocations: 28 kB / 0.9466 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007049/0.7491, allocations: 369.1 kB / 0.947 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.7491, allocations: 3.938 kB / 0.947 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.7492, allocations: 16 kB / 0.947 GB, free: 10.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.021e-05/0.7492, allocations: 15.94 kB / 0.947 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005489/0.7498, allocations: 254 kB / 0.9472 GB, free: 10.56 MB / 0.7169 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.002204/0.752, allocations: 1.671 MB / 0.9489 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.7524, allocations: 206.4 kB / 0.9491 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.7527, allocations: 120.8 kB / 0.9492 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.7538, allocations: 0.8701 MB / 0.95 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.7539, allocations: 34.5 kB / 0.9501 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 4.188e-06/0.7539, allocations: 3.984 kB / 0.9501 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.001025/0.7549, allocations: 363.7 kB / 0.9504 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.755, allocations: 55.41 kB / 0.9505 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005028/0.7555, allocations: 425.9 kB / 0.9509 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.7555, allocations: 33.7 kB / 0.9509 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.7557, allocations: 208.3 kB / 0.9511 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.44e-05/0.7558, allocations: 78.77 kB / 0.9512 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.7559, allocations: 49.7 kB / 0.9512 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.756, allocations: 358.7 kB / 0.9516 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.7563, allocations: 75.95 kB / 0.9517 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.7565, allocations: 127.3 kB / 0.9518 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004197/0.7569, allocations: 206 kB / 0.952 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.7569, allocations: 3.938 kB / 0.952 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005995/0.7576, allocations: 284.9 kB / 0.9522 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.7576, allocations: 4 kB / 0.9523 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.7576, allocations: 4 kB / 0.9523 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.7576, allocations: 0 / 0.9523 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.7579, allocations: 55.91 kB / 0.9523 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.7579, allocations: 7.938 kB / 0.9523 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.7582, allocations: 31.67 kB / 0.9523 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.7582, allocations: 8 kB / 0.9524 GB, free: 4.914 MB / 0.7169 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.0002117/0.7584, allocations: 168.2 kB / 0.9525 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.682e-05/0.7585, allocations: 39.53 kB / 0.9526 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006324/0.7592, allocations: 289 kB / 0.9528 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.7592, allocations: 4 kB / 0.9528 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.7592, allocations: 3.938 kB / 0.9528 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.7592, allocations: 3.984 kB / 0.9528 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.7606, allocations: 0.8102 MB / 0.9536 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.7606, allocations: 0 / 0.9536 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002339/0.7609, allocations: 52.11 kB / 0.9537 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.908e-06/0.7609, allocations: 4 kB / 0.9537 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.578e-05/0.7609, allocations: 8.094 kB / 0.9537 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.7609, allocations: 3.938 kB / 0.9537 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.7609, allocations: 4 kB / 0.9537 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008484/0.7618, allocations: 0.5017 MB / 0.9542 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.762, allocations: 144.6 kB / 0.9543 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.127e-05/0.7621, allocations: 8 kB / 0.9543 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.7624, allocations: 19.98 kB / 0.9544 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.553e-05/0.7624, allocations: 23.91 kB / 0.9544 GB, free: 2.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.7625, allocations: 15.88 kB / 0.9544 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003509/0.7628, allocations: 299.1 kB / 0.9547 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7628, allocations: 0 / 0.9547 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004845/0.7633, allocations: 119.8 kB / 0.9548 GB, free: 2.277 MB / 0.7169 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.0005018/0.7638, allocations: 183.3 kB / 0.955 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005267/0.7644, allocations: 214 kB / 0.9552 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.7644, allocations: 4 kB / 0.9552 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.7646, allocations: 118.5 kB / 0.9553 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.7658, allocations: 220.3 kB / 0.9555 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00172/0.7675, allocations: 0.936 MB / 0.9564 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3853/1.153, allocations: 0.8219 MB / 0.9572 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/1.153, allocations: 36.86 kB / 0.9572 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of SimCode: time 7.92e-07/1.153, allocations: 2.156 kB / 0.9573 GB, free: 190.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.01364/1.167, allocations: 6.631 MB / 0.9637 GB, free: 189.6 MB / 0.7169 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)