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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 1.141/1.141, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 175.8 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009941/0.000994, allocations: 88.11 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001751/0.001751, allocations: 279.7 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.631e-05/1.641e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4008, allocations: 82.77 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.189/4.59, allocations: 1.83 GB / 2.587 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/4.59, allocations: 91.83 kB / 2.587 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.026/5.617, allocations: 342.4 MB / 2.922 GB, free: 48.13 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.974e-06/5.617, allocations: 0 / 2.922 GB, free: 48.13 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.319e-05/5.617, allocations: 4 kB / 2.922 GB, free: 48.12 MB / 0.6823 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.00136/5.618, allocations: 0.6734 MB / 2.922 GB, free: 47.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/5.618, allocations: 8.031 kB / 2.922 GB, free: 47.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003523/5.618, allocations: 59.59 kB / 2.922 GB, free: 47.34 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/5.619, allocations: 327.5 kB / 2.923 GB, free: 46.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/5.619, allocations: 15.94 kB / 2.923 GB, free: 46.97 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/5.619, allocations: 20 kB / 2.923 GB, free: 46.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002213/5.619, allocations: 112.8 kB / 2.923 GB, free: 46.84 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/5.62, allocations: 259.5 kB / 2.923 GB, free: 46.55 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/5.62, allocations: 0 / 2.923 GB, free: 46.55 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/5.62, allocations: 0 / 2.923 GB, free: 46.55 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.637e-06/5.62, allocations: 8 kB / 2.923 GB, free: 46.54 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.001238/5.621, allocations: 1.648 MB / 2.925 GB, free: 44.79 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/5.621, allocations: 74.53 kB / 2.925 GB, free: 44.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.643e-05/5.621, allocations: 56.88 kB / 2.925 GB, free: 44.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002323/5.621, allocations: 194.1 kB / 2.925 GB, free: 44.42 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/5.621, allocations: 34.56 kB / 2.925 GB, free: 44.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/5.621, allocations: 0 / 2.925 GB, free: 44.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.000424/5.622, allocations: 149.5 kB / 2.925 GB, free: 44.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.947e-05/5.622, allocations: 51.41 kB / 2.925 GB, free: 44.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/5.622, allocations: 222.2 kB / 2.925 GB, free: 43.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.794e-05/5.622, allocations: 29.7 kB / 2.925 GB, free: 43.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.694e-05/5.622, allocations: 199.9 kB / 2.926 GB, free: 43.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/5.622, allocations: 39.45 kB / 2.926 GB, free: 43.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/5.622, allocations: 4 kB / 2.926 GB, free: 43.65 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.832e-05/5.622, allocations: 334.8 kB / 2.926 GB, free: 43.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.719e-05/5.622, allocations: 32 kB / 2.926 GB, free: 43.29 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/5.622, allocations: 194.5 kB / 2.926 GB, free: 43.03 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.448e-05/5.623, allocations: 63.89 kB / 2.926 GB, free: 42.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/5.623, allocations: 4 kB / 2.926 GB, free: 42.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002466/5.623, allocations: 197.1 kB / 2.926 GB, free: 42.76 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002364/5.623, allocations: 1.4 MB / 2.928 GB, free: 41.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/5.623, allocations: 4 kB / 2.928 GB, free: 41.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/5.623, allocations: 4 kB / 2.928 GB, free: 41.25 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001787/5.623, allocations: 56 kB / 2.928 GB, free: 41.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/5.623, allocations: 11.89 kB / 2.928 GB, free: 41.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/5.624, allocations: 39.72 kB / 2.928 GB, free: 41.14 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/5.624, allocations: 8 kB / 2.928 GB, free: 41.13 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/5.624, allocations: 7.938 kB / 2.928 GB, free: 41.12 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001877/5.624, allocations: 147.6 kB / 2.928 GB, free: 40.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/5.624, allocations: 4 kB / 2.928 GB, free: 40.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/5.624, allocations: 8 kB / 2.928 GB, free: 40.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/5.624, allocations: 43.92 kB / 2.928 GB, free: 40.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/5.624, allocations: 8.391 kB / 2.928 GB, free: 40.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/5.624, allocations: 31.83 kB / 2.928 GB, free: 40.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/5.624, allocations: 16 kB / 2.928 GB, free: 40.87 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.923e-05/5.624, allocations: 116.8 kB / 2.928 GB, free: 40.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/5.624, allocations: 23.72 kB / 2.928 GB, free: 40.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/5.625, allocations: 131.5 kB / 2.928 GB, free: 40.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/5.625, allocations: 4 kB / 2.928 GB, free: 40.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/5.625, allocations: 0 / 2.928 GB, free: 40.59 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/5.625, allocations: 0 / 2.928 GB, free: 40.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005623/5.625, allocations: 0.5362 MB / 2.929 GB, free: 39.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/5.625, allocations: 3.984 kB / 2.929 GB, free: 39.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/5.625, allocations: 31.91 kB / 2.929 GB, free: 39.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/5.625, allocations: 4 kB / 2.929 GB, free: 39.95 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/5.625, allocations: 4 kB / 2.929 GB, free: 39.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/5.625, allocations: 4 kB / 2.929 GB, free: 39.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/5.625, allocations: 4 kB / 2.929 GB, free: 39.93 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/5.626, allocations: 353.3 kB / 2.929 GB, free: 39.51 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-05/5.626, allocations: 116.7 kB / 2.929 GB, free: 39.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/5.626, allocations: 4 kB / 2.929 GB, free: 39.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/5.626, allocations: 15.98 kB / 2.929 GB, free: 39.36 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/5.626, allocations: 19.88 kB / 2.929 GB, free: 39.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/5.626, allocations: 8 kB / 2.929 GB, free: 39.33 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001141/5.626, allocations: 174 kB / 2.93 GB, free: 39.16 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/5.626, allocations: 0 / 2.93 GB, free: 39.16 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007696/5.627, allocations: 215.7 kB / 2.93 GB, free: 38.95 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001726/5.629, allocations: 1.412 MB / 2.931 GB, free: 37.49 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003166/5.629, allocations: 194.3 kB / 2.931 GB, free: 37.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/5.629, allocations: 0 / 2.931 GB, free: 37.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 6.91e-05/5.629, allocations: 48.11 kB / 2.931 GB, free: 37.26 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006668/5.63, allocations: 111.9 kB / 2.932 GB, free: 37.15 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/5.63, allocations: 332.5 kB / 2.932 GB, free: 36.78 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/5.63, allocations: 0.784 MB / 2.933 GB, free: 35.97 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003008/5.631, allocations: 85.97 kB / 2.933 GB, free: 35.89 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.24e-05/5.631, allocations: 23.44 kB / 2.933 GB, free: 35.86 MB / 0.6823 GB Notification: Performance of SimCode: time 3.61e-07/5.631, allocations: 0 / 2.933 GB, free: 35.86 MB / 0.6823 GB Notification: Performance of Templates: time 0.01577/5.647, allocations: 11.32 MB / 2.944 GB, free: 24.58 MB / 0.6823 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)