Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.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.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure") translateModel(BuildingSystems.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.001111, 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.001159/0.001159, allocations: 195.9 kB / 16.25 MB, free: 6.621 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.38/1.38, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 287 kB / 290.4 MB, free: 2.117 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.097/1.097, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 94.58 kB / 0.5947 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1993, allocations: 86.98 MB / 0.6796 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Pressure): time 0.5385/0.7378, allocations: 167.2 MB / 0.8429 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00789/0.7457, allocations: 7.259 MB / 0.85 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007899/0.7466, allocations: 11.03 kB / 0.85 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000824/0.7475, allocations: 186.9 kB / 0.8501 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.7492, allocations: 0.5406 MB / 0.8507 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.7505, allocations: 391.7 kB / 0.851 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008598/0.7513, allocations: 0.7037 MB / 0.8517 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003826/0.7517, allocations: 264.9 kB / 0.852 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006906/0.7524, allocations: 384.5 kB / 0.8524 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.7527, allocations: 231.6 kB / 0.8526 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.7528, allocations: 25.27 kB / 0.8526 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001063/0.7538, allocations: 0.7151 MB / 0.8533 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.754, allocations: 102.2 kB / 0.8534 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.7541, allocations: 159.5 kB / 0.8535 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007892/0.7549, allocations: 0.6026 MB / 0.8541 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7549, allocations: 4 kB / 0.8541 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7549, allocations: 4 kB / 0.8541 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.755, allocations: 0 / 0.8541 GB, free: 10.82 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009123/0.7559, allocations: 0.6413 MB / 0.8548 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.7559, allocations: 7.188 kB / 0.8548 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003547/0.7563, allocations: 61.75 kB / 0.8548 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.7567, allocations: 314.6 kB / 0.8551 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.7567, allocations: 18.62 kB / 0.8552 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.7568, allocations: 23.34 kB / 0.8552 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005465/0.7573, allocations: 295.5 kB / 0.8555 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.7573, allocations: 1.625 kB / 0.8555 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.7574, allocations: 13.5 kB / 0.8555 GB, free: 9.664 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.7574, allocations: 10.42 kB / 0.8555 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.7578, allocations: 175.5 kB / 0.8556 GB, free: 9.578 MB / 0.5762 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.001739/0.7595, allocations: 1.703 MB / 0.8573 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.7598, allocations: 85.62 kB / 0.8574 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001655/0.76, allocations: 75.45 kB / 0.8575 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003018/0.7603, allocations: 185.9 kB / 0.8576 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.7604, allocations: 41.09 kB / 0.8577 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 3.136e-06/0.7604, allocations: 0 / 0.8577 GB, free: 7.633 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0006699/0.761, allocations: 221.7 kB / 0.8579 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.7611, allocations: 53.53 kB / 0.8579 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.7614, allocations: 325.7 kB / 0.8583 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.7615, allocations: 28.89 kB / 0.8583 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.7616, allocations: 201.1 kB / 0.8585 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.7616, allocations: 40.64 kB / 0.8585 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.232e-05/0.7617, allocations: 43.53 kB / 0.8586 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.7619, allocations: 342.1 kB / 0.8589 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.762, allocations: 62.98 kB / 0.8589 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.7623, allocations: 201 kB / 0.8591 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.7626, allocations: 230.6 kB / 0.8594 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.7626, allocations: 0 / 0.8594 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004542/0.7631, allocations: 260.5 kB / 0.8596 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.7631, allocations: 11.09 kB / 0.8596 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.7631, allocations: 3.062 kB / 0.8596 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.7632, allocations: 4.812 kB / 0.8596 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.7633, allocations: 49.78 kB / 0.8597 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.7634, allocations: 8.594 kB / 0.8597 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.7636, allocations: 39.14 kB / 0.8597 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.7637, allocations: 10.38 kB / 0.8597 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002282/0.7639, allocations: 172.8 kB / 0.8599 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002474/0.7642, allocations: 198.8 kB / 0.8601 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003339/0.7645, allocations: 231 kB / 0.8603 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.7645, allocations: 2.5 kB / 0.8603 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004337/0.7649, allocations: 246.8 kB / 0.8605 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.765, allocations: 15.52 kB / 0.8605 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.765, allocations: 2.281 kB / 0.8606 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.819e-06/0.765, allocations: 7.5 kB / 0.8606 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.7652, allocations: 47.2 kB / 0.8606 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.7652, allocations: 6.703 kB / 0.8606 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.7654, allocations: 30.77 kB / 0.8606 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.7654, allocations: 17.78 kB / 0.8607 GB, free: 5.266 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (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 prepare postOptimizeDAE: time 0.0001187/0.7656, allocations: 197.4 kB / 0.8608 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.043e-05/0.7656, allocations: 32.44 kB / 0.8609 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003643/0.766, allocations: 169.7 kB / 0.861 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.766, allocations: 3.094 kB / 0.861 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.766, allocations: 0 / 0.861 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.766, allocations: 3.984 kB / 0.861 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008913/0.7669, allocations: 0.6004 MB / 0.8616 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.7669, allocations: 6.781 kB / 0.8616 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.7671, allocations: 21.67 kB / 0.8617 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.7671, allocations: 4.656 kB / 0.8617 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.7671, allocations: 10.75 kB / 0.8617 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.7671, allocations: 8.406 kB / 0.8617 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.7671, allocations: 6.453 kB / 0.8617 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.7675, allocations: 303.1 kB / 0.862 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.7676, allocations: 112.9 kB / 0.8621 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.107e-05/0.7677, allocations: 11.22 kB / 0.8621 GB, free: 4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.7679, allocations: 15.56 kB / 0.8621 GB, free: 3.992 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.7679, allocations: 15.66 kB / 0.8621 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.7679, allocations: 6.031 kB / 0.8621 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002063/0.7682, allocations: 226.8 kB / 0.8623 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7682, allocations: 0 / 0.8623 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005628/0.7687, allocations: 134.5 kB / 0.8625 GB, free: 3.812 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (11): * Single equations (assignments): 11 * 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.0004525/0.7692, allocations: 170.4 kB / 0.8626 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005681/0.7698, allocations: 250.2 kB / 0.8629 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7698, allocations: 0 / 0.8629 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.7699, allocations: 63.14 kB / 0.8629 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000828/0.7708, allocations: 114.2 kB / 0.863 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009673/0.7718, allocations: 0.6022 MB / 0.8636 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.7722, allocations: 0.7742 MB / 0.8644 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003092/0.7725, allocations: 90.56 kB / 0.8645 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.936e-05/0.7726, allocations: 28.47 kB / 0.8645 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of SimCode: time 3.6e-07/0.7726, allocations: 4 kB / 0.8645 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of Templates: time 0.01044/0.7831, allocations: 4.793 MB / 0.8692 GB, free: 15.88 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Pressure.pipe 2>&1)