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.001208/0.001213, allocations: 104.3 kB / 16.27 MB, free: 6.406 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.001291/0.001291, allocations: 193.5 kB / 17.2 MB, free: 5.969 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.316/1.316, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002317/0.002317, allocations: 296.1 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9611/0.9611, allocations: 169.3 MB / 0.4988 GB, free: 4.496 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 98.66 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1702, allocations: 86.98 MB / 0.6808 GB, free: 8.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.4957/0.666, allocations: 173.8 MB / 0.8506 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004135/0.6701, allocations: 2.299 MB / 0.8528 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006066/0.6708, allocations: 11.94 kB / 0.8528 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0008524/0.6717, allocations: 230.4 kB / 0.853 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.6742, allocations: 0.9333 MB / 0.8539 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.6766, allocations: 0.8224 MB / 0.8547 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001402/0.678, allocations: 0.9663 MB / 0.8557 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006245/0.6786, allocations: 326.9 kB / 0.856 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009364/0.6796, allocations: 454.2 kB / 0.8564 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.6801, allocations: 318.7 kB / 0.8567 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-05/0.6802, allocations: 32 kB / 0.8568 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.6821, allocations: 0.9859 MB / 0.8577 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.6824, allocations: 151.5 kB / 0.8579 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003687/0.6827, allocations: 238.8 kB / 0.8581 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.6845, allocations: 0.8882 MB / 0.859 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.6846, allocations: 4 kB / 0.859 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6846, allocations: 0 / 0.859 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.099e-05/0.6846, allocations: 0 / 0.859 GB, free: 8.547 MB / 0.6231 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.001541/0.6862, allocations: 0.8067 MB / 0.8598 GB, free: 7.691 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.6862, allocations: 11.97 kB / 0.8598 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.6876, allocations: 179.2 kB / 0.8599 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006375/0.6882, allocations: 377.4 kB / 0.8603 GB, free: 7.098 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.6883, allocations: 32.59 kB / 0.8603 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.378e-05/0.6883, allocations: 28 kB / 0.8604 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006631/0.689, allocations: 366 kB / 0.8607 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.689, allocations: 7.938 kB / 0.8607 GB, free: 6.645 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.6891, allocations: 12 kB / 0.8607 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.6891, allocations: 19.92 kB / 0.8608 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005314/0.6896, allocations: 254 kB / 0.861 GB, free: 6.367 MB / 0.6231 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.001955/0.6916, allocations: 1.687 MB / 0.8626 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.692, allocations: 204.2 kB / 0.8628 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/0.6922, allocations: 117 kB / 0.8629 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.6934, allocations: 0.8817 MB / 0.8638 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.6934, allocations: 34.56 kB / 0.8638 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=23): time 2.214e-06/0.6934, allocations: 0 / 0.8638 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23): time 0.0009363/0.6944, allocations: 354.1 kB / 0.8642 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.6944, allocations: 55.41 kB / 0.8642 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004553/0.6949, allocations: 418 kB / 0.8646 GB, free: 2.281 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.6949, allocations: 29.7 kB / 0.8647 GB, free: 2.246 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.6951, allocations: 216.2 kB / 0.8649 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.6952, allocations: 86.84 kB / 0.8649 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.411e-05/0.6953, allocations: 53.61 kB / 0.865 GB, free: 1.887 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6954, allocations: 350.7 kB / 0.8653 GB, free: 1.535 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.6956, allocations: 75.95 kB / 0.8654 GB, free: 1.461 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.6958, allocations: 132.2 kB / 0.8655 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003868/0.6962, allocations: 208.8 kB / 0.8657 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6963, allocations: 0 / 0.8657 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005233/0.6968, allocations: 279.4 kB / 0.866 GB, free: 0.8281 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.6968, allocations: 4 kB / 0.866 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.6968, allocations: 4 kB / 0.866 GB, free: 0.8203 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.6968, allocations: 8.016 kB / 0.866 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.6971, allocations: 51.92 kB / 0.8661 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.6971, allocations: 4 kB / 0.8661 GB, free: 0.7578 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.6973, allocations: 27.67 kB / 0.8661 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.016e-05/0.6974, allocations: 16.05 kB / 0.8661 GB, free: 0.7148 MB / 0.6231 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.000169/0.6975, allocations: 169.7 kB / 0.8663 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.092e-05/0.6976, allocations: 43.44 kB / 0.8663 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005704/0.6982, allocations: 291.3 kB / 0.8666 GB, free: 212 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6982, allocations: 0 / 0.8666 GB, free: 212 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6982, allocations: 0 / 0.8666 GB, free: 212 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.6982, allocations: 0 / 0.8666 GB, free: 212 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001209/0.6994, allocations: 0.8136 MB / 0.8674 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.6994, allocations: 0 / 0.8674 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.6997, allocations: 51.84 kB / 0.8674 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.6997, allocations: 7.938 kB / 0.8674 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.6997, allocations: 8 kB / 0.8674 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.6997, allocations: 4.891 kB / 0.8675 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.6997, allocations: 4 kB / 0.8675 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007711/0.7005, allocations: 0.5075 MB / 0.868 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.7007, allocations: 144.5 kB / 0.8681 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.77e-05/0.7007, allocations: 7.984 kB / 0.8681 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.701, allocations: 15.98 kB / 0.8681 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.7011, allocations: 19.92 kB / 0.8681 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.7011, allocations: 12 kB / 0.8681 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003095/0.7014, allocations: 303.1 kB / 0.8684 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7014, allocations: 0 / 0.8684 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004578/0.7019, allocations: 115.8 kB / 0.8685 GB, free: 14.07 MB / 0.6387 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.0004421/0.7023, allocations: 202.9 kB / 0.8687 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005005/0.7028, allocations: 211.7 kB / 0.8689 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.7029, allocations: 0 / 0.8689 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.7031, allocations: 120.2 kB / 0.8691 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.7042, allocations: 219.4 kB / 0.8693 GB, free: 13.35 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.7057, allocations: 0.9352 MB / 0.8702 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.7062, allocations: 0.831 MB / 0.871 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.349e-05/0.7063, allocations: 35.42 kB / 0.871 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of SimCode: time 2.61e-07/0.7063, allocations: 4 kB / 0.871 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of Templates: time 0.01059/0.7169, allocations: 6.599 MB / 0.8775 GB, free: 4.953 MB / 0.6387 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)