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.0008423/0.0008425, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005463/0.005463, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.638/1.638, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4206/0.4206, allocations: 55.02 MB / 325.8 MB, free: 0.6094 MB / 254.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.0005584/0.0005584, allocations: 20 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3671, allocations: 60.72 MB / 458 MB, free: 38.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Pressure): time 0.181/0.5481, allocations: 165 MB / 0.6084 GB, free: 1.863 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009263/0.5574, allocations: 7.132 MB / 0.6154 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007681/0.5582, allocations: 11.88 kB / 0.6154 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.5597, allocations: 242.8 kB / 0.6156 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.5617, allocations: 456.1 kB / 0.616 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.5634, allocations: 437.5 kB / 0.6165 GB, free: 9.602 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00199/0.5654, allocations: 1.497 MB / 0.6179 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00067/0.5661, allocations: 287 kB / 0.6182 GB, free: 7.824 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.5676, allocations: 0.4979 MB / 0.6187 GB, free: 7.324 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007024/0.5683, allocations: 330.7 kB / 0.619 GB, free: 7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.615e-05/0.5684, allocations: 16 kB / 0.619 GB, free: 6.984 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001029/0.5695, allocations: 499.1 kB / 0.6195 GB, free: 6.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002689/0.5697, allocations: 159.5 kB / 0.6196 GB, free: 6.34 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004432/0.5702, allocations: 252.6 kB / 0.6199 GB, free: 6.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.5714, allocations: 0.6905 MB / 0.6206 GB, free: 5.395 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.5714, allocations: 4 kB / 0.6206 GB, free: 5.391 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.5714, allocations: 4 kB / 0.6206 GB, free: 5.387 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.789e-05/0.5714, allocations: 0 / 0.6206 GB, free: 5.387 MB / 494.1 MB 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.001443/0.5729, allocations: 0.6645 MB / 0.6212 GB, free: 4.676 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.573, allocations: 8.031 kB / 0.6212 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003986/0.5734, allocations: 55.47 kB / 0.6213 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005406/0.5739, allocations: 337.1 kB / 0.6216 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.574, allocations: 25 kB / 0.6216 GB, free: 4.219 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/0.574, allocations: 36 kB / 0.6217 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.575, allocations: 495.4 kB / 0.6221 GB, free: 3.672 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.5751, allocations: 7.938 kB / 0.6221 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.508e-05/0.5751, allocations: 19.94 kB / 0.6222 GB, free: 3.645 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.5751, allocations: 9.875 kB / 0.6222 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007491/0.5759, allocations: 338.2 kB / 0.6225 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002291/0.5782, allocations: 2.005 MB / 0.6244 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.5786, allocations: 122.4 kB / 0.6246 GB, free: 1.027 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.5788, allocations: 60.91 kB / 0.6246 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.5788, allocations: 0 / 0.6246 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.5788, allocations: 35.25 kB / 0.6247 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.5788, allocations: 0 / 0.6247 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009155/0.5797, allocations: 269.1 kB / 0.6249 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.5798, allocations: 55.34 kB / 0.625 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.5803, allocations: 461.7 kB / 0.6254 GB, free: 128 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.5803, allocations: 29.7 kB / 0.6254 GB, free: 92 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.5805, allocations: 255.2 kB / 0.6257 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.5805, allocations: 31.55 kB / 0.6257 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.5806, allocations: 29.7 kB / 0.6257 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5807, allocations: 350.7 kB / 0.6261 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.5809, allocations: 87.94 kB / 0.6262 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002916/0.5812, allocations: 230 kB / 0.6264 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004801/0.5817, allocations: 315.1 kB / 0.6267 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5817, allocations: 0 / 0.6267 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000663/0.5824, allocations: 368.9 kB / 0.627 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.5825, allocations: 216.7 kB / 0.6272 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5826, allocations: 4 kB / 0.6272 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.5826, allocations: 7.984 kB / 0.6272 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002772/0.5829, allocations: 81.89 kB / 0.6273 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.5829, allocations: 12 kB / 0.6273 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.5833, allocations: 63.5 kB / 0.6274 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.5833, allocations: 12 kB / 0.6274 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/0.5833, allocations: 4 kB / 0.6274 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004537/0.5838, allocations: 275.8 kB / 0.6277 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5838, allocations: 4 kB / 0.6277 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.042e-06/0.5838, allocations: 8 kB / 0.6277 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.584, allocations: 59.91 kB / 0.6277 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.584, allocations: 21.11 kB / 0.6278 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002712/0.5843, allocations: 55.64 kB / 0.6278 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.5843, allocations: 16 kB / 0.6278 GB, free: 13.43 MB / 0.4981 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.0001908/0.5845, allocations: 245 kB / 0.6281 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.5846, allocations: 35.53 kB / 0.6281 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.502e-05/0.5847, allocations: 39.22 kB / 0.6281 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.5847, allocations: 3.938 kB / 0.6281 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.5847, allocations: 0 / 0.6281 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5847, allocations: 0 / 0.6281 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008067/0.5855, allocations: 0.5869 MB / 0.6287 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5855, allocations: 3.938 kB / 0.6287 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001334/0.5857, allocations: 35.91 kB / 0.6287 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5857, allocations: 0 / 0.6287 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.5857, allocations: 4 kB / 0.6288 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5857, allocations: 0.8594 kB / 0.6288 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5857, allocations: 0 / 0.6288 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004592/0.5862, allocations: 297.3 kB / 0.629 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001403/0.5863, allocations: 140.6 kB / 0.6292 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.5864, allocations: 4 kB / 0.6292 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.5867, allocations: 33.14 kB / 0.6292 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.5868, allocations: 11.94 kB / 0.6292 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.5868, allocations: 11.98 kB / 0.6292 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003235/0.5872, allocations: 323.1 kB / 0.6295 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5872, allocations: 0 / 0.6295 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006328/0.5878, allocations: 187.8 kB / 0.6297 GB, free: 11.38 MB / 0.4981 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.0003908/0.5882, allocations: 146.3 kB / 0.6299 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007329/0.589, allocations: 338.2 kB / 0.6302 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.291e-06/0.589, allocations: 4 kB / 0.6302 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.5892, allocations: 60.53 kB / 0.6302 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.5905, allocations: 197.7 kB / 0.6304 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.5918, allocations: 0.7573 MB / 0.6312 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.5923, allocations: 0.8038 MB / 0.632 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004458/0.5928, allocations: 98.11 kB / 0.632 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.244e-05/0.5928, allocations: 27.44 kB / 0.6321 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.5929, allocations: 0 / 0.6321 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of Templates: time 0.01306/0.6059, allocations: 6.808 MB / 0.6387 GB, free: 2.223 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Pressure.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: