Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure") translateModel(Annex60.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2918/0.2918, allocations: 54.34 MB / 66.9 MB, free: 6.105 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001107/0.001107, allocations: 183.2 kB / 80.71 MB, free: 15.39 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.574/1.574, allocations: 194.2 MB / 288.6 MB, free: 15.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001685/0.001685, allocations: 117.8 kB / 346.9 MB, free: 4.797 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.108e-05/5.111e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1401, allocations: 57.65 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.912/6.052, allocations: 2.122 GB / 2.581 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/6.053, allocations: 87.38 kB / 2.581 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.945/6.998, allocations: 334.2 MB / 2.908 GB, free: 36.35 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.485e-06/6.998, allocations: 0 / 2.908 GB, free: 36.35 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.603e-05/6.998, allocations: 8 kB / 2.908 GB, free: 36.34 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001935/7, allocations: 0.7443 MB / 2.909 GB, free: 35.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.684e-05/7, allocations: 12.03 kB / 2.909 GB, free: 35.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003499/7, allocations: 58.78 kB / 2.909 GB, free: 35.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006328/7.001, allocations: 350 kB / 2.909 GB, free: 35.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/7.001, allocations: 24.78 kB / 2.909 GB, free: 35.09 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.709e-05/7.001, allocations: 32 kB / 2.909 GB, free: 35.05 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008515/7.002, allocations: 448.9 kB / 2.909 GB, free: 34.58 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/7.002, allocations: 0 / 2.909 GB, free: 34.58 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.85e-05/7.002, allocations: 16 kB / 2.909 GB, free: 34.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/7.002, allocations: 12.62 kB / 2.909 GB, free: 34.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005462/7.002, allocations: 286.9 kB / 2.91 GB, free: 34.27 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/7.005, allocations: 1.998 MB / 2.912 GB, free: 32.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/7.005, allocations: 86.53 kB / 2.912 GB, free: 32.03 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/7.005, allocations: 44.89 kB / 2.912 GB, free: 31.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/7.005, allocations: 7.938 kB / 2.912 GB, free: 31.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/7.005, allocations: 34.56 kB / 2.912 GB, free: 31.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/7.005, allocations: 0 / 2.912 GB, free: 31.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0005974/7.006, allocations: 165.4 kB / 2.912 GB, free: 31.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/7.006, allocations: 55.41 kB / 2.912 GB, free: 31.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/7.006, allocations: 407 kB / 2.912 GB, free: 31.29 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.742e-05/7.006, allocations: 29.7 kB / 2.912 GB, free: 31.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/7.006, allocations: 251.1 kB / 2.913 GB, free: 31.01 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/7.006, allocations: 23.66 kB / 2.913 GB, free: 30.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.287e-05/7.006, allocations: 8 kB / 2.913 GB, free: 30.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/7.006, allocations: 350.8 kB / 2.913 GB, free: 30.62 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.62e-05/7.006, allocations: 67.91 kB / 2.913 GB, free: 30.56 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/7.007, allocations: 206.5 kB / 2.913 GB, free: 30.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/7.007, allocations: 95.92 kB / 2.913 GB, free: 30.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/7.007, allocations: 0 / 2.913 GB, free: 30.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003562/7.007, allocations: 300.8 kB / 2.914 GB, free: 29.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003633/7.008, allocations: 1.667 MB / 2.915 GB, free: 28.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/7.008, allocations: 4 kB / 2.915 GB, free: 28.09 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/7.008, allocations: 8 kB / 2.915 GB, free: 28.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000271/7.008, allocations: 75.89 kB / 2.915 GB, free: 28.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/7.008, allocations: 7.938 kB / 2.915 GB, free: 28 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003853/7.008, allocations: 67.5 kB / 2.915 GB, free: 27.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/7.008, allocations: 12.08 kB / 2.915 GB, free: 27.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.655e-06/7.008, allocations: 8 kB / 2.915 GB, free: 27.92 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000276/7.009, allocations: 235.8 kB / 2.916 GB, free: 27.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/7.009, allocations: 4 kB / 2.916 GB, free: 27.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-06/7.009, allocations: 8.5 kB / 2.916 GB, free: 27.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/7.009, allocations: 75.86 kB / 2.916 GB, free: 27.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/7.009, allocations: 4 kB / 2.916 GB, free: 27.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/7.009, allocations: 55.59 kB / 2.916 GB, free: 27.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/7.009, allocations: 16 kB / 2.916 GB, free: 27.53 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 9.11e-05/7.009, allocations: 124.8 kB / 2.916 GB, free: 27.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/7.009, allocations: 39.53 kB / 2.916 GB, free: 27.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.23e-05/7.009, allocations: 39.33 kB / 2.916 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/7.009, allocations: 0 / 2.916 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/7.009, allocations: 3.953 kB / 2.916 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/7.009, allocations: 0 / 2.916 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005194/7.01, allocations: 0.5273 MB / 2.917 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/7.01, allocations: 4.062 kB / 2.917 GB, free: 26.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/7.01, allocations: 31.98 kB / 2.917 GB, free: 26.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/7.01, allocations: 3.953 kB / 2.917 GB, free: 26.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/7.01, allocations: 0 / 2.917 GB, free: 26.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/7.01, allocations: 7.984 kB / 2.917 GB, free: 26.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/7.01, allocations: 0 / 2.917 GB, free: 26.68 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/7.01, allocations: 248.2 kB / 2.917 GB, free: 26.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/7.011, allocations: 140.6 kB / 2.917 GB, free: 26.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/7.011, allocations: 0 / 2.917 GB, free: 26.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/7.011, allocations: 39.91 kB / 2.917 GB, free: 26.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.607e-05/7.011, allocations: 11.97 kB / 2.917 GB, free: 26.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/7.011, allocations: 15.98 kB / 2.917 GB, free: 26.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002763/7.011, allocations: 309.2 kB / 2.917 GB, free: 25.88 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.71e-07/7.011, allocations: 0 / 2.917 GB, free: 25.88 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001105/7.012, allocations: 307.8 kB / 2.918 GB, free: 25.58 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001719/7.014, allocations: 1.235 MB / 2.919 GB, free: 24.31 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004685/7.015, allocations: 271.4 kB / 2.919 GB, free: 24.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/7.015, allocations: 0 / 2.919 GB, free: 24.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.587e-05/7.015, allocations: 35.94 kB / 2.919 GB, free: 24.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009657/7.016, allocations: 201.5 kB / 2.919 GB, free: 23.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006693/7.016, allocations: 400.3 kB / 2.92 GB, free: 23.39 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002207/7.017, allocations: 0.812 MB / 2.921 GB, free: 22.55 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004574/7.017, allocations: 131.1 kB / 2.921 GB, free: 22.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.851e-05/7.017, allocations: 27.42 kB / 2.921 GB, free: 22.39 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/7.017, allocations: 3.938 kB / 2.921 GB, free: 22.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.3224/7.34, allocations: 25.78 MB / 2.946 GB, free: 90.73 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.pipe 2>&1)