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.001405/0.001405, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001322/0.001322, allocations: 195.9 kB / 16.26 MB, free: 6.625 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.451/1.451, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002549/0.002549, allocations: 298.4 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.104/1.104, allocations: 178.6 MB / 0.5069 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00289/0.00289, allocations: 97.62 kB / 0.6059 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1864, allocations: 89.16 MB / 0.693 GB, free: 4.707 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.Orifice): time 0.5949/0.7813, allocations: 171.5 MB / 0.8604 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004128/0.7855, allocations: 2.284 MB / 0.8627 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004536/0.786, allocations: 13.12 kB / 0.8627 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007686/0.7868, allocations: 203.5 kB / 0.8629 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00217/0.789, allocations: 0.8732 MB / 0.8637 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002004/0.791, allocations: 0.7515 MB / 0.8645 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001211/0.7922, allocations: 0.9865 MB / 0.8654 GB, free: 7.27 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000464/0.7927, allocations: 323.7 kB / 0.8657 GB, free: 7.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006938/0.7934, allocations: 458.6 kB / 0.8662 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003813/0.7938, allocations: 338.2 kB / 0.8665 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.091e-05/0.7939, allocations: 32.62 kB / 0.8665 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.7957, allocations: 1.029 MB / 0.8675 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001849/0.7959, allocations: 146.2 kB / 0.8677 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.7961, allocations: 237.5 kB / 0.8679 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.7976, allocations: 0.9639 MB / 0.8688 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.7976, allocations: 10.03 kB / 0.8689 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7977, allocations: 0 / 0.8689 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.7977, allocations: 0 / 0.8689 GB, free: 5.203 MB / 0.5919 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.001506/0.7992, allocations: 0.7992 MB / 0.8696 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.7992, allocations: 7.344 kB / 0.8696 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.8005, allocations: 184.4 kB / 0.8698 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.8011, allocations: 371.6 kB / 0.8702 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.8012, allocations: 24.88 kB / 0.8702 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.8012, allocations: 36.36 kB / 0.8702 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000663/0.8019, allocations: 367.2 kB / 0.8706 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.8019, allocations: 5.875 kB / 0.8706 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.704e-05/0.802, allocations: 15.25 kB / 0.8706 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.802, allocations: 13.52 kB / 0.8706 GB, free: 3.809 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004936/0.8025, allocations: 264.5 kB / 0.8709 GB, free: 3.688 MB / 0.5919 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.001989/0.8045, allocations: 1.669 MB / 0.8725 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004122/0.8049, allocations: 204.1 kB / 0.8727 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.8052, allocations: 114.9 kB / 0.8728 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001274/0.8065, allocations: 0.8731 MB / 0.8737 GB, free: 1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.8065, allocations: 34.56 kB / 0.8737 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=23): time 1.964e-06/0.8065, allocations: 0 / 0.8737 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.0009379/0.8075, allocations: 360.7 kB / 0.874 GB, free: 0.7773 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.8075, allocations: 54 kB / 0.8741 GB, free: 0.7148 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/0.808, allocations: 424.7 kB / 0.8745 GB, free: 472 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.8081, allocations: 29.7 kB / 0.8745 GB, free: 436 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.8083, allocations: 210.6 kB / 0.8747 GB, free: 244 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.827e-05/0.8084, allocations: 89.11 kB / 0.8748 GB, free: 164 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.8085, allocations: 49.7 kB / 0.8748 GB, free: 128 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.8087, allocations: 352.9 kB / 0.8752 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.8089, allocations: 80.03 kB / 0.8753 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.8091, allocations: 121.8 kB / 0.8754 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003845/0.8095, allocations: 208.2 kB / 0.8756 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.8095, allocations: 0 / 0.8756 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005213/0.81, allocations: 295.5 kB / 0.8759 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.8101, allocations: 4.422 kB / 0.8759 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.8101, allocations: 3.938 kB / 0.8759 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.8101, allocations: 3.344 kB / 0.8759 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.8104, allocations: 52.09 kB / 0.8759 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.8104, allocations: 6.531 kB / 0.8759 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.8107, allocations: 42.58 kB / 0.876 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.8107, allocations: 11.69 kB / 0.876 GB, free: 15.34 MB / 0.6075 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.000189/0.8109, allocations: 155.3 kB / 0.8761 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.811, allocations: 48.3 kB / 0.8762 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005827/0.8116, allocations: 281.2 kB / 0.8764 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.8116, allocations: 2.094 kB / 0.8764 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.8116, allocations: 4 kB / 0.8764 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.8116, allocations: 3.984 kB / 0.8764 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.8129, allocations: 0.8132 MB / 0.8772 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.8129, allocations: 2.75 kB / 0.8772 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.8131, allocations: 55.09 kB / 0.8773 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.8131, allocations: 2.125 kB / 0.8773 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.8132, allocations: 2.938 kB / 0.8773 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.8132, allocations: 4.5 kB / 0.8773 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.8132, allocations: 3.938 kB / 0.8773 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007916/0.814, allocations: 0.5038 MB / 0.8778 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.8142, allocations: 149 kB / 0.8779 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.055e-05/0.8142, allocations: 11.47 kB / 0.878 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.8145, allocations: 24.88 kB / 0.878 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.342e-05/0.8146, allocations: 14.36 kB / 0.878 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.8146, allocations: 12.89 kB / 0.878 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003327/0.815, allocations: 304 kB / 0.8783 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.815, allocations: 0 / 0.8783 GB, free: 13.58 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004692/0.8154, allocations: 115.8 kB / 0.8784 GB, free: 13.47 MB / 0.6075 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.0004849/0.8159, allocations: 196.7 kB / 0.8786 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005488/0.8165, allocations: 223.6 kB / 0.8788 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.8165, allocations: 0 / 0.8788 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.8167, allocations: 112.2 kB / 0.8789 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.8179, allocations: 243.2 kB / 0.8791 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.8197, allocations: 1.024 MB / 0.8801 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005158/0.8202, allocations: 0.8272 MB / 0.881 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000312/0.8205, allocations: 83.36 kB / 0.881 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.391e-05/0.8206, allocations: 39.42 kB / 0.8811 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.8206, allocations: 0 / 0.8811 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.0169/0.8375, allocations: 7.956 MB / 0.8888 GB, free: 2.883 MB / 0.6075 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)