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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 179.1 kB / 327.6 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 0.5786 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007993/0.0007993, allocations: 94.3 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003171/0.0003171, allocations: 9.031 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1831, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.Orifice): time 0.5934/0.7766, allocations: 169.4 MB / 1.067 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003595/0.7802, allocations: 2.338 MB / 1.069 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005093/0.7808, allocations: 11.72 kB / 1.069 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006869/0.7815, allocations: 187.2 kB / 1.069 GB, free: 1.91 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.7836, allocations: 0.856 MB / 1.07 GB, free: 1.867 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00212/0.7857, allocations: 0.776 MB / 1.071 GB, free: 1.836 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001591/0.7874, allocations: 1.354 MB / 1.072 GB, free: 1.82 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000499/0.7879, allocations: 272.4 kB / 1.073 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008065/0.7887, allocations: 414.5 kB / 1.073 GB, free: 1.793 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004828/0.7892, allocations: 324.5 kB / 1.073 GB, free: 1.789 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.962e-05/0.7892, allocations: 22.5 kB / 1.073 GB, free: 1.785 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.7918, allocations: 1.167 MB / 1.074 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.792, allocations: 132.2 kB / 1.075 GB, free: 1.773 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.7924, allocations: 242.9 kB / 1.075 GB, free: 1.742 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.7936, allocations: 0.6281 MB / 1.075 GB, free: 1.691 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.7936, allocations: 0 / 1.075 GB, free: 1.691 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.684e-06/0.7936, allocations: 2.469 kB / 1.075 GB, free: 1.691 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.7936, allocations: 0 / 1.075 GB, free: 1.691 MB / 0.698 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.001347/0.795, allocations: 0.7338 MB / 1.076 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.795, allocations: 9.703 kB / 1.076 GB, free: 17.15 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.7962, allocations: 181.7 kB / 1.076 GB, free: 17.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/0.7968, allocations: 375.4 kB / 1.077 GB, free: 16.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.7968, allocations: 25.31 kB / 1.077 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/0.7969, allocations: 27.81 kB / 1.077 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006944/0.7976, allocations: 376 kB / 1.077 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.7976, allocations: 0.8438 kB / 1.077 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.7977, allocations: 18.78 kB / 1.077 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.7977, allocations: 11.38 kB / 1.077 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005872/0.7983, allocations: 269.8 kB / 1.077 GB, free: 16.76 MB / 0.7136 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.00199/0.8003, allocations: 1.674 MB / 1.079 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.8008, allocations: 214.5 kB / 1.079 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.801, allocations: 124.3 kB / 1.079 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001092/0.8021, allocations: 0.8805 MB / 1.08 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.8022, allocations: 37.69 kB / 1.08 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=23): time 2.234e-06/0.8022, allocations: 4.656 kB / 1.08 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=23): time 0.001019/0.8032, allocations: 365.1 kB / 1.081 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.8033, allocations: 59.94 kB / 1.081 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005161/0.8038, allocations: 425.2 kB / 1.081 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.8038, allocations: 30.42 kB / 1.081 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.804, allocations: 210.5 kB / 1.081 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.465e-05/0.804, allocations: 82.16 kB / 1.081 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.8041, allocations: 0.9375 kB / 1.081 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.8042, allocations: 360.4 kB / 1.082 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.8044, allocations: 82.52 kB / 1.082 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002296/0.8046, allocations: 129.4 kB / 1.082 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/0.8051, allocations: 218 kB / 1.082 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8051, allocations: 5.469 kB / 1.082 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005475/0.8056, allocations: 296.7 kB / 1.082 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.8057, allocations: 4.938 kB / 1.082 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.8057, allocations: 1.344 kB / 1.082 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.8057, allocations: 2.469 kB / 1.082 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.8059, allocations: 55.97 kB / 1.082 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.806, allocations: 1.031 kB / 1.082 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.8063, allocations: 47.02 kB / 1.082 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.8063, allocations: 13 kB / 1.082 GB, free: 13.7 MB / 0.7136 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.0001789/0.8065, allocations: 163.8 kB / 1.083 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.605e-05/0.8066, allocations: 40.47 kB / 1.083 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005709/0.8071, allocations: 305.3 kB / 1.083 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.8072, allocations: 6.25 kB / 1.083 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.8072, allocations: 1.344 kB / 1.083 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.8072, allocations: 2.859 kB / 1.083 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.8084, allocations: 0.8151 MB / 1.084 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.8084, allocations: 8.547 kB / 1.084 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002275/0.8086, allocations: 46.27 kB / 1.084 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.8086, allocations: 2.688 kB / 1.084 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.8087, allocations: 11.3 kB / 1.084 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.8087, allocations: 5.906 kB / 1.084 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.8087, allocations: 2.75 kB / 1.084 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000744/0.8094, allocations: 0.5246 MB / 1.084 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.8096, allocations: 141 kB / 1.084 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.082e-05/0.8097, allocations: 10.28 kB / 1.085 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.81, allocations: 27.41 kB / 1.085 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.151e-05/0.8101, allocations: 24.67 kB / 1.085 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.8101, allocations: 8.344 kB / 1.085 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003199/0.8104, allocations: 302.9 kB / 1.085 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8104, allocations: 0 / 1.085 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000485/0.8109, allocations: 116.7 kB / 1.085 GB, free: 12.71 MB / 0.7136 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.0003801/0.8113, allocations: 196.8 kB / 1.085 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004833/0.8118, allocations: 225.7 kB / 1.085 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.8118, allocations: 0 / 1.085 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.8121, allocations: 116.7 kB / 1.085 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.8133, allocations: 216.2 kB / 1.086 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.8149, allocations: 1.14 MB / 1.087 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.8152, allocations: 0.8245 MB / 1.088 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.8153, allocations: 40.83 kB / 1.088 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of SimCode: time 4.41e-07/0.8154, allocations: 0 / 1.088 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of Templates: time 0.0104/0.8258, allocations: 6.533 MB / 1.094 GB, free: 10.65 MB / 0.7136 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)