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.008245/0.008245, allocations: 102.1 kB / 15.73 MB, free: 6.039 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.001802/0.001802, allocations: 199.5 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.619/1.619, allocations: 205.1 MB / 222.5 MB, free: 4.547 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4226/0.4226, allocations: 54.94 MB / 324.8 MB, free: 15.94 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.001591/0.001591, allocations: 68.22 kB / 456.2 MB, free: 38.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1661, allocations: 59.58 MB / 0.5037 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Pressure): time 0.6486/0.8148, allocations: 169.4 MB / 0.6692 GB, free: 92 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008829/0.8237, allocations: 7.199 MB / 0.6762 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008632/0.8246, allocations: 12.38 kB / 0.6762 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001076/0.8257, allocations: 298.6 kB / 0.6765 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.8272, allocations: 484.5 kB / 0.677 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001619/0.8288, allocations: 0.4928 MB / 0.6775 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.8301, allocations: 1.035 MB / 0.6785 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004782/0.8306, allocations: 352.4 kB / 0.6788 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.8318, allocations: 0.5956 MB / 0.6794 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003867/0.8321, allocations: 320 kB / 0.6797 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.23e-05/0.8322, allocations: 37.34 kB / 0.6797 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008288/0.8331, allocations: 495.2 kB / 0.6802 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.8333, allocations: 179 kB / 0.6804 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002775/0.8335, allocations: 244.2 kB / 0.6806 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00096/0.8345, allocations: 0.7216 MB / 0.6813 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.8345, allocations: 0 / 0.6813 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.965e-06/0.8345, allocations: 0 / 0.6813 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.8345, allocations: 1.203 kB / 0.6813 GB, free: 15.75 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.001359/0.8359, allocations: 0.7497 MB / 0.682 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.836, allocations: 10.06 kB / 0.6821 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.8363, allocations: 61.77 kB / 0.6821 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.8367, allocations: 356 kB / 0.6825 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.8368, allocations: 24.72 kB / 0.6825 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.857e-05/0.8368, allocations: 35.12 kB / 0.6825 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009143/0.8377, allocations: 476.8 kB / 0.683 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.8378, allocations: 3.594 kB / 0.683 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.8378, allocations: 16.78 kB / 0.683 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.8378, allocations: 18.72 kB / 0.683 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007239/0.8386, allocations: 316.4 kB / 0.6833 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.8409, allocations: 1.983 MB / 0.6852 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.8413, allocations: 106.5 kB / 0.6853 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.8415, allocations: 54.08 kB / 0.6854 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.8415, allocations: 0 / 0.6854 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.8415, allocations: 39.44 kB / 0.6854 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.8415, allocations: 0 / 0.6854 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.000885/0.8424, allocations: 225.8 kB / 0.6856 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.8425, allocations: 57.91 kB / 0.6857 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004939/0.843, allocations: 460.8 kB / 0.6861 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.843, allocations: 29 kB / 0.6862 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.8432, allocations: 261.1 kB / 0.6864 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.8433, allocations: 31.02 kB / 0.6864 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.26e-05/0.8434, allocations: 60.97 kB / 0.6865 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.8435, allocations: 344.3 kB / 0.6868 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.8437, allocations: 88.48 kB / 0.6869 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/0.844, allocations: 224.4 kB / 0.6871 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.8445, allocations: 297.1 kB / 0.6874 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8445, allocations: 0 / 0.6874 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000602/0.8451, allocations: 349 kB / 0.6877 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8451, allocations: 12.03 kB / 0.6878 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.8452, allocations: 3.641 kB / 0.6878 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.692e-05/0.8452, allocations: 12.81 kB / 0.6878 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.8455, allocations: 73.7 kB / 0.6878 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.8455, allocations: 7.031 kB / 0.6879 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003468/0.8458, allocations: 55.47 kB / 0.6879 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.8459, allocations: 10.88 kB / 0.6879 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002699/0.8461, allocations: 205.9 kB / 0.6881 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002425/0.8464, allocations: 208.9 kB / 0.6883 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003693/0.8468, allocations: 274.4 kB / 0.6886 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.8468, allocations: 0 / 0.6886 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0005174/0.8473, allocations: 321.6 kB / 0.6889 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.8473, allocations: 9.219 kB / 0.6889 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.8473, allocations: 10.06 kB / 0.6889 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.3e-06/0.8474, allocations: 6.094 kB / 0.6889 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.8476, allocations: 70.11 kB / 0.689 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.8476, allocations: 4.344 kB / 0.689 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002888/0.8479, allocations: 28.95 kB / 0.689 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.8479, allocations: 17.06 kB / 0.689 GB, free: 11.74 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.0001413/0.8481, allocations: 201.9 kB / 0.6892 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.63e-05/0.8481, allocations: 39.75 kB / 0.6892 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.716e-05/0.8482, allocations: 37.89 kB / 0.6893 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.8482, allocations: 1.203 kB / 0.6893 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.8482, allocations: 0 / 0.6893 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.8482, allocations: 0 / 0.6893 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008181/0.8491, allocations: 0.5698 MB / 0.6898 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.8491, allocations: 0 / 0.6898 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.8492, allocations: 26 kB / 0.6899 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.8492, allocations: 2.344 kB / 0.6899 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.8492, allocations: 2.625 kB / 0.6899 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.8493, allocations: 1.969 kB / 0.6899 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.8493, allocations: 2.406 kB / 0.6899 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.8497, allocations: 280 kB / 0.6901 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.8499, allocations: 135.1 kB / 0.6903 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.587e-05/0.8499, allocations: 5.297 kB / 0.6903 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.8503, allocations: 24.41 kB / 0.6903 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.827e-05/0.8503, allocations: 6.797 kB / 0.6903 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.8504, allocations: 12.38 kB / 0.6903 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003137/0.8507, allocations: 322.2 kB / 0.6906 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.5e-07/0.8507, allocations: 0 / 0.6906 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006389/0.8513, allocations: 192.7 kB / 0.6908 GB, free: 10.82 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.000395/0.8517, allocations: 150.8 kB / 0.691 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007379/0.8525, allocations: 321.8 kB / 0.6913 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.8525, allocations: 0 / 0.6913 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.8527, allocations: 55.83 kB / 0.6913 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009545/0.8536, allocations: 194 kB / 0.6915 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.8547, allocations: 0.5947 MB / 0.6921 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.8552, allocations: 0.809 MB / 0.6929 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003395/0.8555, allocations: 94.67 kB / 0.693 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.263e-05/0.8556, allocations: 31.83 kB / 0.693 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.8556, allocations: 1.094 kB / 0.693 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of Templates: time 0.01335/0.869, allocations: 7.089 MB / 0.6999 GB, free: 7.453 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)