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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008273/0.008272, allocations: 104.9 kB / 15.73 MB, free: 6.043 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.001768/0.001768, allocations: 191.1 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4434/0.4434, allocations: 54.94 MB / 324.8 MB, free: 15.96 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 69.16 kB / 456.2 MB, free: 38.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1394, allocations: 59.6 MB / 0.5037 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Pressure): time 0.5821/0.7216, allocations: 169.4 MB / 0.6692 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007206/0.7288, allocations: 7.195 MB / 0.6762 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007828/0.7296, allocations: 11.78 kB / 0.6762 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009674/0.7306, allocations: 288.6 kB / 0.6765 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.732, allocations: 473.7 kB / 0.677 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.7335, allocations: 0.492 MB / 0.6774 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001263/0.7347, allocations: 1.034 MB / 0.6784 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004667/0.7352, allocations: 344.9 kB / 0.6788 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.7363, allocations: 0.5658 MB / 0.6793 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003726/0.7367, allocations: 323.6 kB / 0.6796 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.7368, allocations: 34.72 kB / 0.6797 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008167/0.7376, allocations: 0.4924 MB / 0.6802 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.7378, allocations: 175.7 kB / 0.6803 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002852/0.7381, allocations: 247.2 kB / 0.6806 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009221/0.739, allocations: 0.7198 MB / 0.6813 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.739, allocations: 3.406 kB / 0.6813 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.473e-06/0.739, allocations: 0 / 0.6813 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.677e-06/0.7391, allocations: 0 / 0.6813 GB, free: 15.76 MB / 0.5137 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.001353/0.7404, allocations: 0.7446 MB / 0.682 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.7405, allocations: 8.656 kB / 0.682 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003192/0.7408, allocations: 70.45 kB / 0.6821 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005941/0.7414, allocations: 345.8 kB / 0.6824 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.7414, allocations: 29.25 kB / 0.6824 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/0.7415, allocations: 34.09 kB / 0.6825 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.7425, allocations: 478.2 kB / 0.6829 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.7426, allocations: 9.344 kB / 0.6829 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.7426, allocations: 14.12 kB / 0.6829 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.7426, allocations: 14 kB / 0.6829 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007879/0.7434, allocations: 318.2 kB / 0.6833 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/0.7463, allocations: 1.983 MB / 0.6852 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004006/0.7467, allocations: 109.4 kB / 0.6853 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.7468, allocations: 50.09 kB / 0.6853 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.7469, allocations: 0 / 0.6853 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.7469, allocations: 37.16 kB / 0.6854 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 4.028e-06/0.7469, allocations: 6.234 kB / 0.6854 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0009352/0.7479, allocations: 229 kB / 0.6856 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.748, allocations: 55.34 kB / 0.6857 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005391/0.7485, allocations: 459.4 kB / 0.6861 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.7485, allocations: 30.83 kB / 0.6861 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.7488, allocations: 259.9 kB / 0.6864 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.7488, allocations: 30.84 kB / 0.6864 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.7489, allocations: 60.12 kB / 0.6865 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.7491, allocations: 346.9 kB / 0.6868 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.7493, allocations: 89.62 kB / 0.6869 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.7497, allocations: 225.1 kB / 0.6871 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004811/0.7502, allocations: 287.5 kB / 0.6874 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.7502, allocations: 0 / 0.6874 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000633/0.7508, allocations: 349.3 kB / 0.6877 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.7508, allocations: 8.156 kB / 0.6877 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.7509, allocations: 5.906 kB / 0.6877 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.7509, allocations: 11.92 kB / 0.6877 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.7512, allocations: 76.11 kB / 0.6878 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.7512, allocations: 7.188 kB / 0.6878 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003557/0.7516, allocations: 52.34 kB / 0.6878 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.7516, allocations: 17.25 kB / 0.6879 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002777/0.7519, allocations: 204.4 kB / 0.6881 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002632/0.7522, allocations: 213.1 kB / 0.6883 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000369/0.7525, allocations: 273.7 kB / 0.6885 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.126e-06/0.7526, allocations: 2.75 kB / 0.6885 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.000509/0.7531, allocations: 321.7 kB / 0.6888 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.7531, allocations: 5.375 kB / 0.6888 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.7531, allocations: 9.844 kB / 0.6888 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.7531, allocations: 8.156 kB / 0.6889 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.7533, allocations: 59.47 kB / 0.6889 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.7534, allocations: 11.56 kB / 0.6889 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003026/0.7537, allocations: 34.45 kB / 0.689 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.7537, allocations: 11.09 kB / 0.689 GB, free: 11.75 MB / 0.5137 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.7539, allocations: 199.7 kB / 0.6892 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.418e-05/0.754, allocations: 37.31 kB / 0.6892 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.08e-05/0.754, allocations: 40.7 kB / 0.6892 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.754, allocations: 3.312 kB / 0.6892 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.7541, allocations: 1.281 kB / 0.6892 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.7541, allocations: 4 kB / 0.6892 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008891/0.755, allocations: 0.5637 MB / 0.6898 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.755, allocations: 5.562 kB / 0.6898 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.7551, allocations: 23.12 kB / 0.6898 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7551, allocations: 2.312 kB / 0.6898 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.7551, allocations: 6.125 kB / 0.6898 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.7552, allocations: 4.062 kB / 0.6898 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7552, allocations: 0 / 0.6898 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004375/0.7556, allocations: 276.2 kB / 0.6901 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.7558, allocations: 147.2 kB / 0.6902 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.7558, allocations: 0 / 0.6902 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000324/0.7562, allocations: 22.38 kB / 0.6903 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.7562, allocations: 10.22 kB / 0.6903 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/0.7563, allocations: 8.109 kB / 0.6903 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003257/0.7566, allocations: 318.6 kB / 0.6906 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7566, allocations: 3.156 kB / 0.6906 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006834/0.7573, allocations: 190.6 kB / 0.6908 GB, free: 10.84 MB / 0.5137 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 () * Number of clocked 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 (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.0004073/0.7577, allocations: 154.8 kB / 0.6909 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000735/0.7585, allocations: 317 kB / 0.6912 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.7585, allocations: 1.5 kB / 0.6912 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.7587, allocations: 54.56 kB / 0.6913 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009325/0.7596, allocations: 200.2 kB / 0.6915 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.7607, allocations: 0.5959 MB / 0.692 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.7611, allocations: 0.8078 MB / 0.6928 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.000324/0.7614, allocations: 96.52 kB / 0.6929 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.391e-05/0.7615, allocations: 27.66 kB / 0.6929 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of SimCode: time 1.313e-06/0.7615, allocations: 2.25 kB / 0.6929 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of Templates: time 0.01319/0.7747, allocations: 7.083 MB / 0.6999 GB, free: 7.477 MB / 0.5137 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)