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.001093/0.001093, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00125/0.00125, allocations: 187.6 kB / 16.13 MB, free: 6.66 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.614/1.614, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4082/0.4082, allocations: 54.93 MB / 324.3 MB, free: 220 kB / 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.001356/0.001356, allocations: 63.91 kB / 394.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1461, allocations: 59.59 MB / 454.2 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Pressure): time 0.4157/0.5618, allocations: 167.2 MB / 0.6069 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.007625/0.5695, allocations: 7.219 MB / 0.6139 GB, free: 9.504 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005731/0.5701, allocations: 15.94 kB / 0.6139 GB, free: 9.488 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009394/0.5711, allocations: 258.7 kB / 0.6142 GB, free: 9.234 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001236/0.5724, allocations: 446 kB / 0.6146 GB, free: 8.797 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.5739, allocations: 434.3 kB / 0.615 GB, free: 8.375 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001724/0.5756, allocations: 1.497 MB / 0.6165 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004725/0.5761, allocations: 293.7 kB / 0.6168 GB, free: 6.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.5772, allocations: 0.5028 MB / 0.6173 GB, free: 6.086 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.5776, allocations: 338.7 kB / 0.6176 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.073e-05/0.5776, allocations: 20 kB / 0.6176 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008083/0.5785, allocations: 499.1 kB / 0.6181 GB, free: 5.246 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.5786, allocations: 163.5 kB / 0.6182 GB, free: 5.086 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.5789, allocations: 227 kB / 0.6184 GB, free: 4.863 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007751/0.5796, allocations: 0.7049 MB / 0.6191 GB, free: 4.156 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5797, allocations: 0 / 0.6191 GB, free: 4.156 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.5797, allocations: 4 kB / 0.6191 GB, free: 4.152 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.5797, allocations: 0 / 0.6191 GB, free: 4.152 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.001267/0.581, allocations: 0.7505 MB / 0.6199 GB, free: 3.359 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.581, allocations: 8.031 kB / 0.6199 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002782/0.5813, allocations: 59.45 kB / 0.6199 GB, free: 3.293 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.5817, allocations: 337.1 kB / 0.6203 GB, free: 2.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/0.5817, allocations: 25.5 kB / 0.6203 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.5818, allocations: 36 kB / 0.6203 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009296/0.5827, allocations: 483.3 kB / 0.6208 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5827, allocations: 0 / 0.6208 GB, free: 2.363 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.5828, allocations: 19.94 kB / 0.6208 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.5828, allocations: 12.94 kB / 0.6208 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000754/0.5836, allocations: 318.3 kB / 0.6211 GB, free: 2.02 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.5859, allocations: 1.991 MB / 0.6231 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004015/0.5863, allocations: 102.5 kB / 0.6232 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.5864, allocations: 53.44 kB / 0.6232 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.5865, allocations: 0 / 0.6232 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.5865, allocations: 38.56 kB / 0.6232 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.5865, allocations: 0 / 0.6232 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0009102/0.5874, allocations: 233.5 kB / 0.6235 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.5875, allocations: 63.33 kB / 0.6235 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.588, allocations: 450.6 kB / 0.624 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.588, allocations: 33.7 kB / 0.624 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.5882, allocations: 247.2 kB / 0.6242 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.5882, allocations: 39.47 kB / 0.6243 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/0.5883, allocations: 61.61 kB / 0.6243 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.5884, allocations: 346.8 kB / 0.6247 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.5887, allocations: 92.78 kB / 0.6247 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003033/0.589, allocations: 225.4 kB / 0.625 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/0.5894, allocations: 296 kB / 0.6252 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5895, allocations: 0.5625 kB / 0.6252 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006135/0.5901, allocations: 340.9 kB / 0.6256 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.5901, allocations: 8.781 kB / 0.6256 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.5901, allocations: 8.938 kB / 0.6256 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.5901, allocations: 4 kB / 0.6256 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002936/0.5904, allocations: 71.83 kB / 0.6257 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.5905, allocations: 8.844 kB / 0.6257 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.5909, allocations: 67.78 kB / 0.6257 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.5909, allocations: 16.55 kB / 0.6257 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000279/0.5912, allocations: 204.1 kB / 0.6259 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002416/0.5914, allocations: 206.4 kB / 0.6261 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003694/0.5918, allocations: 273.8 kB / 0.6264 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.5918, allocations: 0 / 0.6264 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization_lambda0): time 0.0005079/0.5923, allocations: 316.1 kB / 0.6267 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.5924, allocations: 11.94 kB / 0.6267 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.5924, allocations: 5.219 kB / 0.6267 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.5924, allocations: 8 kB / 0.6267 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.5926, allocations: 71.83 kB / 0.6268 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5926, allocations: 4 kB / 0.6268 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.5929, allocations: 39.98 kB / 0.6268 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.784e-05/0.593, allocations: 15.98 kB / 0.6268 GB, free: 11.68 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.0001471/0.5931, allocations: 197.1 kB / 0.627 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.448e-05/0.5932, allocations: 43.47 kB / 0.6271 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.863e-05/0.5933, allocations: 39.2 kB / 0.6271 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5933, allocations: 0 / 0.6271 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5933, allocations: 0.5625 kB / 0.6271 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.5933, allocations: 0 / 0.6271 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008036/0.5941, allocations: 0.575 MB / 0.6277 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.5941, allocations: 0.8438 kB / 0.6277 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.5943, allocations: 27.92 kB / 0.6277 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.5943, allocations: 3.984 kB / 0.6277 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.5943, allocations: 64 / 0.6277 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.648e-06/0.5943, allocations: 9.125 kB / 0.6277 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5943, allocations: 0 / 0.6277 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.5948, allocations: 271.9 kB / 0.628 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001511/0.5949, allocations: 148.5 kB / 0.6281 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.32e-05/0.595, allocations: 0 / 0.6281 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003462/0.5953, allocations: 27.91 kB / 0.6281 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.727e-05/0.5954, allocations: 11.98 kB / 0.6282 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.047e-05/0.5954, allocations: 7.984 kB / 0.6282 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003353/0.5958, allocations: 319.1 kB / 0.6285 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5958, allocations: 4 kB / 0.6285 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006755/0.5965, allocations: 195.7 kB / 0.6287 GB, free: 9.719 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.000376/0.5969, allocations: 149.9 kB / 0.6288 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007124/0.5976, allocations: 317.9 kB / 0.6291 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5976, allocations: 448 / 0.6291 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.5978, allocations: 55.89 kB / 0.6292 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.5988, allocations: 196.8 kB / 0.6293 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.5999, allocations: 0.7144 MB / 0.63 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.6003, allocations: 0.8038 MB / 0.6308 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004134/0.6008, allocations: 99.19 kB / 0.6309 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.547e-05/0.6008, allocations: 27.44 kB / 0.6309 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.6008, allocations: 0 / 0.6309 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of Templates: time 0.01342/0.6143, allocations: 6.827 MB / 0.6376 GB, free: 0.625 MB / 0.4981 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)