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 0.8877/0.8877, allocations: 141.7 MB / 154.3 MB, free: 15.5 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 180.7 kB / 187.3 MB, free: 11.89 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.469/1.469, allocations: 221.3 MB / 441.4 MB, free: 4.609 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.0009339/0.0009342, allocations: 94.8 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001725/0.001725, allocations: 268.5 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.953e-05/3.957e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4458/0.4459, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.038/5.484, allocations: 1.83 GB / 2.595 GB, free: 176.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/5.484, allocations: 91.08 kB / 2.595 GB, free: 176.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.191/6.675, allocations: 346.5 MB / 2.933 GB, free: 113.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.724e-06/6.675, allocations: 0 / 2.933 GB, free: 113.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.734e-05/6.675, allocations: 7.984 kB / 2.933 GB, free: 113.9 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001549/6.677, allocations: 0.6656 MB / 2.934 GB, free: 113.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/6.677, allocations: 16.03 kB / 2.934 GB, free: 113.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004463/6.678, allocations: 59.58 kB / 2.934 GB, free: 113.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006364/6.678, allocations: 320.4 kB / 2.934 GB, free: 112.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/6.678, allocations: 16.44 kB / 2.934 GB, free: 112.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.505e-05/6.678, allocations: 23.98 kB / 2.934 GB, free: 112.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/6.679, allocations: 288.6 kB / 2.934 GB, free: 112.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/6.679, allocations: 0 / 2.934 GB, free: 112.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/6.679, allocations: 15.94 kB / 2.934 GB, free: 112.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/6.679, allocations: 4 kB / 2.934 GB, free: 112.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/6.679, allocations: 136.8 kB / 2.935 GB, free: 112.2 MB / 0.698 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.001674/6.681, allocations: 1.718 MB / 2.936 GB, free: 110.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/6.681, allocations: 74.47 kB / 2.936 GB, free: 110.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.679e-05/6.681, allocations: 68.88 kB / 2.936 GB, free: 110.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002706/6.681, allocations: 182.2 kB / 2.937 GB, free: 110 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/6.681, allocations: 34.56 kB / 2.937 GB, free: 110 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 1.953e-06/6.681, allocations: 3.938 kB / 2.937 GB, free: 110 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0005053/6.682, allocations: 161.4 kB / 2.937 GB, free: 109.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/6.682, allocations: 55.34 kB / 2.937 GB, free: 109.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/6.682, allocations: 278.7 kB / 2.937 GB, free: 109.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/6.682, allocations: 25.7 kB / 2.937 GB, free: 109.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/6.682, allocations: 203.8 kB / 2.937 GB, free: 109.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/6.682, allocations: 35.45 kB / 2.937 GB, free: 109.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-06/6.682, allocations: 4 kB / 2.937 GB, free: 109.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.204e-05/6.682, allocations: 338.8 kB / 2.938 GB, free: 108.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.121e-05/6.683, allocations: 39.98 kB / 2.938 GB, free: 108.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/6.683, allocations: 191.4 kB / 2.938 GB, free: 108.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/6.683, allocations: 67.89 kB / 2.938 GB, free: 108.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/6.683, allocations: 4 kB / 2.938 GB, free: 108.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003156/6.683, allocations: 229 kB / 2.938 GB, free: 108.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00036/6.683, allocations: 1.399 MB / 2.94 GB, free: 106.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/6.684, allocations: 4 kB / 2.94 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/6.684, allocations: 4 kB / 2.94 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/6.684, allocations: 51.92 kB / 2.94 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/6.684, allocations: 15.92 kB / 2.94 GB, free: 106.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/6.684, allocations: 43.62 kB / 2.94 GB, free: 106.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-05/6.684, allocations: 19.98 kB / 2.94 GB, free: 106.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/6.684, allocations: 4 kB / 2.94 GB, free: 106.6 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002228/6.684, allocations: 167.5 kB / 2.94 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/6.684, allocations: 4 kB / 2.94 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.681e-06/6.684, allocations: 8 kB / 2.94 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/6.685, allocations: 51.91 kB / 2.94 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/6.685, allocations: 4 kB / 2.94 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002588/6.685, allocations: 44.22 kB / 2.94 GB, free: 106.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.472e-05/6.685, allocations: 16 kB / 2.94 GB, free: 106.3 MB / 0.698 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 7.465e-05/6.685, allocations: 118.1 kB / 2.94 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/6.685, allocations: 35.58 kB / 2.94 GB, free: 106.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/6.685, allocations: 148.5 kB / 2.94 GB, free: 106 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/6.685, allocations: 288 / 2.94 GB, free: 106 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/6.685, allocations: 0 / 2.94 GB, free: 106 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/6.685, allocations: 7.984 kB / 2.94 GB, free: 106 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006543/6.686, allocations: 0.5784 MB / 2.941 GB, free: 105.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/6.686, allocations: 12.11 kB / 2.941 GB, free: 105.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/6.686, allocations: 27.92 kB / 2.941 GB, free: 105.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/6.686, allocations: 4 kB / 2.941 GB, free: 105.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/6.686, allocations: 0 / 2.941 GB, free: 105.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/6.686, allocations: 7.938 kB / 2.941 GB, free: 105.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/6.686, allocations: 4 kB / 2.941 GB, free: 105.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/6.686, allocations: 365 kB / 2.941 GB, free: 104.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.895e-05/6.686, allocations: 120.6 kB / 2.941 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/6.686, allocations: 4 kB / 2.941 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/6.687, allocations: 15.98 kB / 2.941 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/6.687, allocations: 19.94 kB / 2.941 GB, free: 104.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/6.687, allocations: 8 kB / 2.941 GB, free: 104.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001759/6.687, allocations: 222.2 kB / 2.942 GB, free: 104.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.687, allocations: 0 / 2.942 GB, free: 104.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009567/6.688, allocations: 247.8 kB / 2.942 GB, free: 104.2 MB / 0.698 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.0018/6.69, allocations: 1.255 MB / 2.943 GB, free: 102.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003704/6.69, allocations: 214.9 kB / 2.943 GB, free: 102.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/6.69, allocations: 0 / 2.943 GB, free: 102.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.424e-05/6.69, allocations: 52.23 kB / 2.943 GB, free: 102.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007578/6.691, allocations: 144.6 kB / 2.943 GB, free: 102.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006004/6.692, allocations: 353.9 kB / 2.944 GB, free: 102.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002399/6.692, allocations: 0.7804 MB / 2.945 GB, free: 101.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003734/6.692, allocations: 111.5 kB / 2.945 GB, free: 101.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/6.692, allocations: 19.44 kB / 2.945 GB, free: 101.2 MB / 0.698 GB Notification: Performance of SimCode: time 7.21e-07/6.692, allocations: 4 kB / 2.945 GB, free: 101.2 MB / 0.698 GB Notification: Performance of Templates: time 0.0283/6.721, allocations: 23.72 MB / 2.968 GB, free: 77.5 MB / 0.698 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)