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.008517/0.008517, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.0019/0.0019, allocations: 199.7 kB / 16.67 MB, free: 5.977 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.606/1.606, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002481/0.002481, allocations: 286.9 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.041/1.041, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 95.83 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2493, allocations: 86.98 MB / 0.7664 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.7468/0.9962, allocations: 173.8 MB / 0.9361 GB, free: 4.957 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.004778/1.001, allocations: 2.294 MB / 0.9383 GB, free: 2.66 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008276/1.002, allocations: 11.94 kB / 0.9384 GB, free: 2.648 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/1.003, allocations: 242.3 kB / 0.9386 GB, free: 2.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.003148/1.006, allocations: 0.9723 MB / 0.9395 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002914/1.009, allocations: 0.8345 MB / 0.9404 GB, free: 0.6016 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002072/1.011, allocations: 0.9701 MB / 0.9413 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008592/1.012, allocations: 330.9 kB / 0.9416 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/1.013, allocations: 466.3 kB / 0.9421 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007267/1.014, allocations: 318.6 kB / 0.9424 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/1.014, allocations: 32 kB / 0.9424 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002418/1.017, allocations: 0.9937 MB / 0.9434 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003178/1.017, allocations: 147.5 kB / 0.9435 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0004762/1.018, allocations: 230.8 kB / 0.9437 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002365/1.02, allocations: 0.9142 MB / 0.9446 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/1.02, allocations: 0 / 0.9446 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.154e-06/1.02, allocations: 4 kB / 0.9446 GB, free: 12.22 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.215e-06/1.02, allocations: 4 kB / 0.9446 GB, free: 12.22 MB / 0.7012 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.001282/1.021, allocations: 0.8065 MB / 0.9454 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/1.021, allocations: 12.03 kB / 0.9454 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/1.023, allocations: 183.2 kB / 0.9456 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006313/1.023, allocations: 385.4 kB / 0.946 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/1.023, allocations: 28.66 kB / 0.946 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/1.023, allocations: 32 kB / 0.946 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006297/1.024, allocations: 365.6 kB / 0.9464 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/1.024, allocations: 0 / 0.9464 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.982e-05/1.024, allocations: 19.94 kB / 0.9464 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/1.024, allocations: 12 kB / 0.9464 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004971/1.025, allocations: 262 kB / 0.9467 GB, free: 10.02 MB / 0.7012 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.001896/1.026, allocations: 1.682 MB / 0.9483 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/1.027, allocations: 194.5 kB / 0.9485 GB, free: 8.008 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/1.027, allocations: 120.7 kB / 0.9486 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/1.028, allocations: 0.8701 MB / 0.9494 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/1.028, allocations: 38.56 kB / 0.9495 GB, free: 6.785 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=23): time 1.934e-06/1.028, allocations: 4 kB / 0.9495 GB, free: 6.781 MB / 0.7012 GB Notification: Performance of matching and sorting (n=23): time 0.0009381/1.029, allocations: 354.7 kB / 0.9498 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/1.029, allocations: 55.41 kB / 0.9499 GB, free: 6.363 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004637/1.03, allocations: 421.9 kB / 0.9503 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/1.03, allocations: 37.64 kB / 0.9503 GB, free: 5.902 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/1.03, allocations: 212.3 kB / 0.9505 GB, free: 5.691 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/1.03, allocations: 82.75 kB / 0.9506 GB, free: 5.609 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-05/1.03, allocations: 49.7 kB / 0.9506 GB, free: 5.555 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001692/1.03, allocations: 354.7 kB / 0.951 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/1.03, allocations: 83.88 kB / 0.9511 GB, free: 5.117 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002079/1.031, allocations: 122.9 kB / 0.9512 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/1.031, allocations: 217.7 kB / 0.9514 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.031, allocations: 0 / 0.9514 GB, free: 4.766 MB / 0.7012 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005081/1.032, allocations: 277 kB / 0.9517 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.032, allocations: 4 kB / 0.9517 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.032, allocations: 8.031 kB / 0.9517 GB, free: 4.477 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.032, allocations: 0 / 0.9517 GB, free: 4.477 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/1.032, allocations: 51.91 kB / 0.9517 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/1.032, allocations: 4 kB / 0.9517 GB, free: 4.422 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/1.032, allocations: 35.72 kB / 0.9518 GB, free: 4.387 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/1.032, allocations: 15.94 kB / 0.9518 GB, free: 4.371 MB / 0.7012 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.0001705/1.032, allocations: 158.4 kB / 0.9519 GB, free: 4.207 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/1.032, allocations: 39.53 kB / 0.952 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000559/1.033, allocations: 294.4 kB / 0.9522 GB, free: 3.875 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.033, allocations: 4 kB / 0.9522 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.033, allocations: 0 / 0.9522 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/1.033, allocations: 3.938 kB / 0.9522 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001239/1.034, allocations: 0.8075 MB / 0.953 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/1.034, allocations: 3.938 kB / 0.953 GB, free: 2.98 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002258/1.035, allocations: 48 kB / 0.9531 GB, free: 2.934 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.924e-06/1.035, allocations: 7.984 kB / 0.9531 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.243e-05/1.035, allocations: 8 kB / 0.9531 GB, free: 2.918 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/1.035, allocations: 15.86 kB / 0.9531 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.035, allocations: 0 / 0.9531 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007933/1.035, allocations: 0.5108 MB / 0.9536 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/1.036, allocations: 144.6 kB / 0.9537 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/1.036, allocations: 4 kB / 0.9538 GB, free: 2.199 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/1.036, allocations: 11.98 kB / 0.9538 GB, free: 2.188 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/1.036, allocations: 27.91 kB / 0.9538 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/1.036, allocations: 15.94 kB / 0.9538 GB, free: 2.148 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0003363/1.036, allocations: 303.1 kB / 0.9541 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.31e-07/1.036, allocations: 0 / 0.9541 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0004685/1.037, allocations: 115.8 kB / 0.9542 GB, free: 1.742 MB / 0.7012 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.0004824/1.037, allocations: 184.7 kB / 0.9544 GB, free: 1.562 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004908/1.038, allocations: 218.3 kB / 0.9546 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/1.038, allocations: 0 / 0.9546 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002109/1.038, allocations: 112.1 kB / 0.9547 GB, free: 1.242 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/1.039, allocations: 228.1 kB / 0.9549 GB, free: 1.027 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/1.041, allocations: 0.8995 MB / 0.9558 GB, free: 84 kB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/1.041, allocations: 0.8234 MB / 0.9566 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002642/1.042, allocations: 83.34 kB / 0.9567 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/1.042, allocations: 35.44 kB / 0.9567 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/1.042, allocations: 7.938 kB / 0.9567 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.01645/1.058, allocations: 8.076 MB / 0.9646 GB, free: 7.168 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)