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.001806/0.001806, allocations: 104.9 kB / 16.4 MB, free: 6.461 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.002008/0.002008, allocations: 192 kB / 17.34 MB, free: 5.715 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002602/0.002602, allocations: 286 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 1.168/1.168, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002736/0.002736, allocations: 107.8 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4857/0.4884, allocations: 86.97 MB / 0.767 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.2272/0.7156, allocations: 174.3 MB / 0.9372 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.004563/0.7202, allocations: 2.31 MB / 0.9395 GB, free: 2.645 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005817/0.7208, allocations: 11.94 kB / 0.9395 GB, free: 2.633 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0008589/0.7216, allocations: 242.4 kB / 0.9397 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002567/0.7242, allocations: 0.9645 MB / 0.9407 GB, free: 1.426 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.7266, allocations: 0.838 MB / 0.9415 GB, free: 0.5898 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001658/0.7282, allocations: 0.9662 MB / 0.9424 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005381/0.7288, allocations: 283 kB / 0.9427 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008549/0.7296, allocations: 470.2 kB / 0.9431 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004201/0.73, allocations: 306.7 kB / 0.9434 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.88e-05/0.7301, allocations: 40 kB / 0.9435 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.7323, allocations: 0.9976 MB / 0.9445 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.7325, allocations: 147.5 kB / 0.9446 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.7328, allocations: 242.7 kB / 0.9448 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001621/0.7344, allocations: 0.9168 MB / 0.9457 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7344, allocations: 0 / 0.9457 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7344, allocations: 0 / 0.9457 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.7344, allocations: 0 / 0.9457 GB, free: 12.25 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.001655/0.7361, allocations: 0.8208 MB / 0.9465 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.7361, allocations: 12.03 kB / 0.9465 GB, free: 11.36 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/0.7374, allocations: 179.5 kB / 0.9467 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007638/0.7382, allocations: 397.7 kB / 0.9471 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.7382, allocations: 24.66 kB / 0.9471 GB, free: 10.73 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.351e-05/0.7383, allocations: 32 kB / 0.9471 GB, free: 10.7 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006719/0.739, allocations: 373.1 kB / 0.9475 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.739, allocations: 0 / 0.9475 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.739, allocations: 12 kB / 0.9475 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.739, allocations: 15.94 kB / 0.9475 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005372/0.7396, allocations: 262 kB / 0.9478 GB, free: 10.03 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.002108/0.7417, allocations: 1.676 MB / 0.9494 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.7421, allocations: 194.5 kB / 0.9496 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.7423, allocations: 104.8 kB / 0.9497 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/0.7435, allocations: 0.874 MB / 0.9505 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.7435, allocations: 30.56 kB / 0.9506 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.7435, allocations: 0 / 0.9506 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0009769/0.7445, allocations: 372.6 kB / 0.9509 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.7445, allocations: 55.41 kB / 0.951 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005027/0.745, allocations: 418 kB / 0.9514 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.7451, allocations: 25.81 kB / 0.9514 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.7452, allocations: 224.4 kB / 0.9516 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.655e-05/0.7453, allocations: 91.2 kB / 0.9517 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-05/0.7454, allocations: 49.7 kB / 0.9518 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001778/0.7456, allocations: 358.7 kB / 0.9521 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.7458, allocations: 75.89 kB / 0.9522 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.746, allocations: 123.4 kB / 0.9523 GB, free: 5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004126/0.7464, allocations: 209 kB / 0.9525 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.7464, allocations: 4 kB / 0.9525 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005526/0.747, allocations: 287.6 kB / 0.9528 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.747, allocations: 6.344 kB / 0.9528 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.747, allocations: 0 / 0.9528 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.747, allocations: 7.938 kB / 0.9528 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.7473, allocations: 43.98 kB / 0.9528 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.7473, allocations: 7.922 kB / 0.9528 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.7475, allocations: 35.81 kB / 0.9529 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.91e-05/0.7475, allocations: 12 kB / 0.9529 GB, free: 4.387 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.0002001/0.7477, allocations: 168.2 kB / 0.953 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-05/0.7478, allocations: 43.72 kB / 0.9531 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006329/0.7485, allocations: 289.2 kB / 0.9533 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.7485, allocations: 4 kB / 0.9534 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.7485, allocations: 7.938 kB / 0.9534 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.7485, allocations: 0 / 0.9534 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.7498, allocations: 0.8113 MB / 0.9542 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7498, allocations: 0 / 0.9542 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/0.7501, allocations: 43.97 kB / 0.9542 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.7501, allocations: 4 kB / 0.9542 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.336e-05/0.7501, allocations: 11.94 kB / 0.9542 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.7501, allocations: 0 / 0.9542 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.439e-06/0.7501, allocations: 4 kB / 0.9542 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000857/0.751, allocations: 0.5059 MB / 0.9547 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.7511, allocations: 152.8 kB / 0.9549 GB, free: 2.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.502e-05/0.7512, allocations: 8 kB / 0.9549 GB, free: 2.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000265/0.7515, allocations: 15.98 kB / 0.9549 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.7515, allocations: 11.98 kB / 0.9549 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.7515, allocations: 15.94 kB / 0.9549 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003406/0.7519, allocations: 299.1 kB / 0.9552 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7519, allocations: 3.938 kB / 0.9552 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004859/0.7524, allocations: 119.8 kB / 0.9553 GB, free: 1.75 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.0004691/0.7528, allocations: 199.8 kB / 0.9555 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005082/0.7533, allocations: 207.7 kB / 0.9557 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7533, allocations: 0 / 0.9557 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.7536, allocations: 107.8 kB / 0.9558 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001132/0.7547, allocations: 225.9 kB / 0.956 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.7565, allocations: 0.9135 MB / 0.9569 GB, free: 68 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4204/1.177, allocations: 0.8199 MB / 0.9577 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004632/1.177, allocations: 79.97 kB / 0.9578 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/1.177, allocations: 36.77 kB / 0.9578 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.002e-06/1.177, allocations: 0.5 kB / 0.9578 GB, free: 190.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.02025/1.198, allocations: 8.131 MB / 0.9658 GB, free: 188.8 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.Orifice.pipe 2>&1)