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.005755/0.005755, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001133/0.001133, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.304/1.304, allocations: 222.9 MB / 240.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7644/0.7644, allocations: 132.2 MB / 422.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 64.03 kB / 0.5813 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1486, allocations: 80.22 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.6137/0.7624, allocations: 169.5 MB / 0.8252 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009297/0.7717, allocations: 7.318 MB / 0.8323 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007266/0.7725, allocations: 11.69 kB / 0.8323 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007964/0.7733, allocations: 216.8 kB / 0.8325 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001718/0.7751, allocations: 0.5727 MB / 0.8331 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001279/0.7763, allocations: 431.6 kB / 0.8335 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008634/0.7772, allocations: 0.7036 MB / 0.8342 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004103/0.7776, allocations: 283 kB / 0.8345 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006743/0.7783, allocations: 373.7 kB / 0.8348 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.7786, allocations: 217.2 kB / 0.835 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.243e-05/0.7787, allocations: 17.78 kB / 0.835 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.7799, allocations: 0.7073 MB / 0.8357 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.78, allocations: 106.9 kB / 0.8358 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.7802, allocations: 157.2 kB / 0.836 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009366/0.7811, allocations: 0.5827 MB / 0.8366 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7811, allocations: 0 / 0.8366 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7811, allocations: 0 / 0.8366 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.7812, allocations: 0 / 0.8366 GB, free: 11.41 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.001029/0.7822, allocations: 0.6532 MB / 0.8372 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.7822, allocations: 10.22 kB / 0.8372 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003807/0.7826, allocations: 68.25 kB / 0.8373 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000527/0.7832, allocations: 317.2 kB / 0.8376 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.7832, allocations: 26.53 kB / 0.8376 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.909e-05/0.7832, allocations: 23.47 kB / 0.8376 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005009/0.7837, allocations: 309.2 kB / 0.8379 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.7838, allocations: 0 / 0.8379 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.382e-05/0.7838, allocations: 8.5 kB / 0.8379 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.7838, allocations: 5.281 kB / 0.8379 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.7842, allocations: 180.6 kB / 0.8381 GB, free: 10.13 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.001881/0.7861, allocations: 1.697 MB / 0.8398 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.7863, allocations: 89.72 kB / 0.8398 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.7865, allocations: 81.17 kB / 0.8399 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/0.7868, allocations: 184.4 kB / 0.8401 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.7868, allocations: 36.81 kB / 0.8401 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.7868, allocations: 0 / 0.8401 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.000662/0.7875, allocations: 225.8 kB / 0.8403 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.7876, allocations: 58.16 kB / 0.8404 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.7879, allocations: 316 kB / 0.8407 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.7879, allocations: 32.39 kB / 0.8407 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.7882, allocations: 197.1 kB / 0.8409 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.7882, allocations: 45 kB / 0.841 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.678e-05/0.7883, allocations: 53.94 kB / 0.841 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7885, allocations: 342.3 kB / 0.8413 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.7886, allocations: 62.89 kB / 0.8414 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00032/0.7889, allocations: 192.4 kB / 0.8416 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003452/0.7893, allocations: 230.5 kB / 0.8418 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.7893, allocations: 2.344 kB / 0.8418 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004474/0.7898, allocations: 260.7 kB / 0.8421 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.7898, allocations: 7.406 kB / 0.8421 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.7898, allocations: 6.719 kB / 0.8421 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.7898, allocations: 4.344 kB / 0.8421 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/0.79, allocations: 51.16 kB / 0.8421 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.79, allocations: 6.156 kB / 0.8421 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.7902, allocations: 34.55 kB / 0.8422 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.7903, allocations: 14.31 kB / 0.8422 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000222/0.7905, allocations: 169.5 kB / 0.8423 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002374/0.7908, allocations: 192.4 kB / 0.8425 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003359/0.7911, allocations: 238.2 kB / 0.8427 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.345e-06/0.7911, allocations: 2.25 kB / 0.8427 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004167/0.7915, allocations: 254.8 kB / 0.843 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/0.7916, allocations: 7.438 kB / 0.843 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.7916, allocations: 2.875 kB / 0.843 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.997e-06/0.7916, allocations: 4.812 kB / 0.843 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.7917, allocations: 47.03 kB / 0.843 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.7917, allocations: 9.438 kB / 0.8431 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.792, allocations: 32.72 kB / 0.8431 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.792, allocations: 20.36 kB / 0.8431 GB, free: 5.805 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.0001174/0.7921, allocations: 197 kB / 0.8433 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.89e-05/0.7922, allocations: 31.09 kB / 0.8433 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003609/0.7925, allocations: 163.3 kB / 0.8435 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.7925, allocations: 4 kB / 0.8435 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.7926, allocations: 2.5 kB / 0.8435 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.7926, allocations: 3.938 kB / 0.8435 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000835/0.7934, allocations: 0.6049 MB / 0.8441 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.7934, allocations: 2.406 kB / 0.8441 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.7935, allocations: 21.83 kB / 0.8441 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.7935, allocations: 2.688 kB / 0.8441 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.7936, allocations: 2.125 kB / 0.8441 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.854e-06/0.7936, allocations: 11.59 kB / 0.8441 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.7936, allocations: 2.125 kB / 0.8441 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003754/0.794, allocations: 313.3 kB / 0.8444 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.874e-05/0.7941, allocations: 111 kB / 0.8445 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.7941, allocations: 5.031 kB / 0.8445 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.7943, allocations: 16.7 kB / 0.8445 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.7943, allocations: 9.266 kB / 0.8446 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.7943, allocations: 4.594 kB / 0.8446 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000221/0.7946, allocations: 235.2 kB / 0.8448 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7946, allocations: 0 / 0.8448 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005246/0.7951, allocations: 137.5 kB / 0.8449 GB, free: 4.355 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.0004067/0.7955, allocations: 169.2 kB / 0.8451 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005389/0.7961, allocations: 246 kB / 0.8453 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7961, allocations: 0 / 0.8453 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.7962, allocations: 68.42 kB / 0.8454 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006997/0.7969, allocations: 128.7 kB / 0.8455 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007898/0.7977, allocations: 0.4999 MB / 0.846 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/0.7981, allocations: 0.7717 MB / 0.8467 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002174/0.7983, allocations: 90.66 kB / 0.8468 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.199e-05/0.7984, allocations: 25.31 kB / 0.8469 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of SimCode: time 2.184e-06/0.7984, allocations: 0 / 0.8469 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of Templates: time 0.00895/0.8074, allocations: 4.911 MB / 0.8516 GB, free: 468 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)