Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice") translateModel(Buildings.Airflow.Multizone.Examples.Orifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.000988/0.0009879, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001182/0.001182, allocations: 195.9 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.1 MB / 222 MB, free: 4.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.675/1.675, allocations: 251.6 MB / 0.5088 GB, free: 3.328 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 63.91 kB / 0.6216 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7859/0.7872, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.2898/1.077, allocations: 171.7 MB / 0.8915 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008049/1.085, allocations: 2.357 MB / 0.8938 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/1.087, allocations: 15.88 kB / 0.8938 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001581/1.088, allocations: 198.8 kB / 0.894 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004535/1.093, allocations: 0.8559 MB / 0.8948 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004582/1.097, allocations: 0.7734 MB / 0.8956 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003141/1.101, allocations: 1.344 MB / 0.8969 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/1.102, allocations: 288.3 kB / 0.8971 GB, free: 11 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/1.104, allocations: 422.2 kB / 0.8975 GB, free: 10.58 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/1.105, allocations: 318.7 kB / 0.8978 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002101/1.106, allocations: 24 kB / 0.8979 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005397/1.111, allocations: 1.165 MB / 0.899 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000634/1.112, allocations: 143.5 kB / 0.8991 GB, free: 8.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/1.113, allocations: 218.9 kB / 0.8994 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003956/1.117, allocations: 0.962 MB / 0.9003 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/1.117, allocations: 0 / 0.9003 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.357e-06/1.117, allocations: 4 kB / 0.9003 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.423e-05/1.117, allocations: 0 / 0.9003 GB, free: 7.754 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.003101/1.12, allocations: 0.8023 MB / 0.9011 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 9.005e-05/1.12, allocations: 8.031 kB / 0.9011 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002204/1.122, allocations: 195 kB / 0.9013 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/1.124, allocations: 369.5 kB / 0.9016 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.031e-05/1.124, allocations: 24.66 kB / 0.9017 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/1.124, allocations: 28 kB / 0.9017 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/1.125, allocations: 369.1 kB / 0.902 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/1.125, allocations: 3.938 kB / 0.902 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-05/1.125, allocations: 16 kB / 0.902 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.68e-05/1.125, allocations: 8 kB / 0.9021 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008524/1.126, allocations: 258 kB / 0.9023 GB, free: 5.578 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.003383/1.129, allocations: 1.683 MB / 0.9039 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000655/1.13, allocations: 206.5 kB / 0.9041 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/1.13, allocations: 110.5 kB / 0.9042 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001647/1.132, allocations: 0.8739 MB / 0.9051 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/1.132, allocations: 38.5 kB / 0.9051 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 5.21e-06/1.132, allocations: 0 / 0.9051 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0015/1.134, allocations: 359.8 kB / 0.9055 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/1.134, allocations: 51.41 kB / 0.9055 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007518/1.135, allocations: 422 kB / 0.9059 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.55e-05/1.135, allocations: 29.7 kB / 0.906 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/1.135, allocations: 216.2 kB / 0.9062 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/1.135, allocations: 82.77 kB / 0.9062 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/1.135, allocations: 53.69 kB / 0.9063 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002318/1.135, allocations: 350.7 kB / 0.9066 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/1.136, allocations: 79.95 kB / 0.9067 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/1.136, allocations: 132.6 kB / 0.9068 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006222/1.137, allocations: 208.5 kB / 0.907 GB, free: 336 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/1.137, allocations: 0 / 0.907 GB, free: 336 kB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008525/1.138, allocations: 278.3 kB / 0.9073 GB, free: 52 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/1.138, allocations: 8 kB / 0.9073 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/1.138, allocations: 32 / 0.9073 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/1.138, allocations: 4 kB / 0.9073 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.7291/1.867, allocations: 51.64 kB / 0.9074 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/1.867, allocations: 1.781 kB / 0.9074 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005291/1.867, allocations: 38.17 kB / 0.9074 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/1.868, allocations: 14.77 kB / 0.9074 GB, free: 185.2 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.0002693/1.868, allocations: 166.4 kB / 0.9076 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/1.868, allocations: 39.75 kB / 0.9076 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008193/1.869, allocations: 285.9 kB / 0.9079 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.869, allocations: 5.25 kB / 0.9079 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/1.869, allocations: 0 / 0.9079 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/1.869, allocations: 5.703 kB / 0.9079 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/1.87, allocations: 0.8138 MB / 0.9087 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/1.87, allocations: 5.188 kB / 0.9087 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/1.871, allocations: 45.39 kB / 0.9087 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.788e-06/1.871, allocations: 3.531 kB / 0.9087 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/1.871, allocations: 9.469 kB / 0.9087 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.426e-06/1.871, allocations: 7.438 kB / 0.9088 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/1.871, allocations: 1.594 kB / 0.9088 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009689/1.872, allocations: 0.5027 MB / 0.9092 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/1.872, allocations: 149.2 kB / 0.9094 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.732e-05/1.872, allocations: 8.828 kB / 0.9094 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/1.872, allocations: 26.31 kB / 0.9094 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/1.872, allocations: 19.42 kB / 0.9094 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/1.872, allocations: 8.109 kB / 0.9094 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0004635/1.873, allocations: 302.7 kB / 0.9097 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.873, allocations: 0 / 0.9097 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005606/1.874, allocations: 120.5 kB / 0.9099 GB, free: 184.2 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.0005405/1.874, allocations: 186 kB / 0.91 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005939/1.875, allocations: 207.1 kB / 0.9102 GB, free: 184 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.875, allocations: 2.969 kB / 0.9102 GB, free: 184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002685/1.875, allocations: 111.1 kB / 0.9103 GB, free: 184 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/1.876, allocations: 225.4 kB / 0.9106 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/1.878, allocations: 1.028 MB / 0.9116 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004545/1.879, allocations: 0.8258 MB / 0.9124 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004342/1.879, allocations: 92.77 kB / 0.9125 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/1.879, allocations: 33.14 kB / 0.9125 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of SimCode: time 1.142e-06/1.879, allocations: 4.812 kB / 0.9125 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.02424/1.904, allocations: 7.687 MB / 0.92 GB, free: 180.3 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.Examples.Orifice.pipe 2>&1)