Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure") translateModel(IDEAS.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001654/0.001654, allocations: 106.9 kB / 16.41 MB, free: 6.492 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.001951/0.001951, allocations: 187 kB / 17.34 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.795/0.795, allocations: 132.2 MB / 423.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 69.77 kB / 0.582 GB, free: 23.91 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1606, allocations: 80.22 MB / 0.6604 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.587/0.7476, allocations: 169.4 MB / 0.8258 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009146/0.7568, allocations: 7.325 MB / 0.833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00069/0.7576, allocations: 11.41 kB / 0.833 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008906/0.7585, allocations: 215.1 kB / 0.8332 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.7602, allocations: 0.5754 MB / 0.8337 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.7616, allocations: 426.6 kB / 0.8342 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.7626, allocations: 0.7022 MB / 0.8348 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005238/0.7631, allocations: 283.1 kB / 0.8351 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008807/0.764, allocations: 381.4 kB / 0.8355 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003969/0.7644, allocations: 213.8 kB / 0.8357 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.68e-05/0.7645, allocations: 17.28 kB / 0.8357 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.7658, allocations: 0.7032 MB / 0.8364 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.7659, allocations: 110.8 kB / 0.8365 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.7661, allocations: 159.8 kB / 0.8366 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009932/0.7671, allocations: 0.5773 MB / 0.8372 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7672, allocations: 0 / 0.8372 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.724e-06/0.7672, allocations: 0 / 0.8372 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.7672, allocations: 0 / 0.8372 GB, free: 11.26 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001086/0.7683, allocations: 0.6383 MB / 0.8378 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.7683, allocations: 10.28 kB / 0.8378 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/0.7687, allocations: 67.83 kB / 0.8379 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.7692, allocations: 317.1 kB / 0.8382 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.7692, allocations: 19.28 kB / 0.8382 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.7693, allocations: 18.88 kB / 0.8382 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.7697, allocations: 309 kB / 0.8385 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.7698, allocations: 7.938 kB / 0.8385 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.7698, allocations: 13.28 kB / 0.8386 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.7698, allocations: 4.812 kB / 0.8386 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.7702, allocations: 176.7 kB / 0.8387 GB, free: 10 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.7717, allocations: 1.701 MB / 0.8404 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.772, allocations: 92.58 kB / 0.8405 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.7721, allocations: 73.69 kB / 0.8405 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002702/0.7724, allocations: 192.5 kB / 0.8407 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.7725, allocations: 33.06 kB / 0.8408 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.623e-06/0.7725, allocations: 0 / 0.8408 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0006234/0.7731, allocations: 223.8 kB / 0.841 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.7731, allocations: 54.22 kB / 0.841 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002928/0.7734, allocations: 326.3 kB / 0.8413 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.185e-05/0.7735, allocations: 25.7 kB / 0.8414 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.7736, allocations: 201.7 kB / 0.8416 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.7736, allocations: 36.61 kB / 0.8416 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.7737, allocations: 53.33 kB / 0.8416 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.7738, allocations: 338.7 kB / 0.842 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.774, allocations: 62.78 kB / 0.842 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.7742, allocations: 196.5 kB / 0.8422 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.7746, allocations: 230.7 kB / 0.8424 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.7746, allocations: 2.562 kB / 0.8424 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004389/0.775, allocations: 256.6 kB / 0.8427 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.775, allocations: 7.094 kB / 0.8427 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7751, allocations: 2.906 kB / 0.8427 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.7751, allocations: 4.844 kB / 0.8427 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.7753, allocations: 43.34 kB / 0.8427 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.7753, allocations: 13.11 kB / 0.8427 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002325/0.7755, allocations: 43.02 kB / 0.8428 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.7755, allocations: 10.09 kB / 0.8428 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002105/0.7758, allocations: 169.3 kB / 0.843 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002138/0.776, allocations: 195.1 kB / 0.8431 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003157/0.7763, allocations: 238.4 kB / 0.8434 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.7763, allocations: 0 / 0.8434 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004191/0.7767, allocations: 252.2 kB / 0.8436 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.7768, allocations: 8.781 kB / 0.8436 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.7768, allocations: 6.938 kB / 0.8436 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.54e-06/0.7768, allocations: 4.812 kB / 0.8436 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.7769, allocations: 51.06 kB / 0.8437 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.777, allocations: 9.156 kB / 0.8437 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002331/0.7772, allocations: 29.02 kB / 0.8437 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.7772, allocations: 16.19 kB / 0.8437 GB, free: 5.691 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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.0001212/0.7774, allocations: 200.9 kB / 0.8439 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.7774, allocations: 31.09 kB / 0.844 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003591/0.7778, allocations: 159.1 kB / 0.8441 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.7778, allocations: 2.688 kB / 0.8441 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.7778, allocations: 3.938 kB / 0.8441 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.7778, allocations: 0 / 0.8441 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008646/0.7787, allocations: 0.608 MB / 0.8447 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.7787, allocations: 2.094 kB / 0.8447 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.7788, allocations: 32.09 kB / 0.8447 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.7788, allocations: 2.562 kB / 0.8447 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.7788, allocations: 10.41 kB / 0.8448 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.7789, allocations: 5.75 kB / 0.8448 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7789, allocations: 3.281 kB / 0.8448 GB, free: 4.809 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.7792, allocations: 294.4 kB / 0.845 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.7794, allocations: 129.2 kB / 0.8452 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.7794, allocations: 2.094 kB / 0.8452 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.7796, allocations: 15.89 kB / 0.8452 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.7797, allocations: 13 kB / 0.8452 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.7797, allocations: 8.453 kB / 0.8452 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002026/0.7799, allocations: 222.7 kB / 0.8454 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7799, allocations: 0 / 0.8454 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005621/0.7804, allocations: 134.5 kB / 0.8455 GB, free: 4.238 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (11): * Single equations (assignments): 11 * 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.0004248/0.7809, allocations: 157.2 kB / 0.8457 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005799/0.7815, allocations: 259.3 kB / 0.8459 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7815, allocations: 0 / 0.8459 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.7816, allocations: 66.89 kB / 0.846 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007238/0.7824, allocations: 132.9 kB / 0.8461 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009111/0.7833, allocations: 0.5254 MB / 0.8466 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.7836, allocations: 0.7728 MB / 0.8474 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.7837, allocations: 28.33 kB / 0.8474 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.7837, allocations: 0 / 0.8474 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of Templates: time 0.007972/0.7917, allocations: 4.514 MB / 0.8518 GB, free: 444 kB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)