Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Sensors.Examples.Pressure") translateModel(IDEAS.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001191/0.001192, allocations: 107.6 kB / 16.27 MB, free: 6.41 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.00116/0.001161, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7908/0.7908, allocations: 135.1 MB / 426.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 63.91 kB / 0.506 GB, free: 8.395 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.3547, allocations: 80.91 MB / 0.585 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.1766/0.5314, allocations: 169.4 MB / 0.7505 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3499/0.8813, allocations: 7.299 MB / 0.7576 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006433/0.8819, allocations: 14.81 kB / 0.7576 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006753/0.8826, allocations: 210.8 kB / 0.7578 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.884, allocations: 0.5752 MB / 0.7584 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.8852, allocations: 424.2 kB / 0.7588 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000814/0.886, allocations: 0.7123 MB / 0.7595 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004093/0.8864, allocations: 267.3 kB / 0.7597 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007108/0.8872, allocations: 379.8 kB / 0.7601 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.8875, allocations: 223.7 kB / 0.7603 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.325e-05/0.8875, allocations: 19.22 kB / 0.7603 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.8889, allocations: 0.6969 MB / 0.761 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000172/0.889, allocations: 107.3 kB / 0.7611 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.8893, allocations: 158.6 kB / 0.7613 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001201/0.8905, allocations: 0.5696 MB / 0.7618 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.8905, allocations: 0.875 kB / 0.7618 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8905, allocations: 0.5312 kB / 0.7618 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.8905, allocations: 0 / 0.7618 GB, free: 1.629 MB / 0.5762 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.001119/0.8917, allocations: 0.6391 MB / 0.7625 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.8917, allocations: 11.36 kB / 0.7625 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000388/0.8921, allocations: 61.17 kB / 0.7625 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.8925, allocations: 309.9 kB / 0.7628 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.8926, allocations: 18.17 kB / 0.7628 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.8926, allocations: 24.25 kB / 0.7629 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000528/0.8932, allocations: 301.6 kB / 0.7631 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.8932, allocations: 4.625 kB / 0.7632 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.641e-05/0.8932, allocations: 13.97 kB / 0.7632 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.8932, allocations: 5.938 kB / 0.7632 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/0.8937, allocations: 180.3 kB / 0.7633 GB, free: 16.77 MB / 0.5919 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.001763/0.8954, allocations: 1.695 MB / 0.765 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.8957, allocations: 87.91 kB / 0.7651 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.8959, allocations: 83.02 kB / 0.7652 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003105/0.8962, allocations: 188.6 kB / 0.7653 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.8963, allocations: 36.5 kB / 0.7654 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.894e-06/0.8963, allocations: 3.75 kB / 0.7654 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0007491/0.897, allocations: 226.2 kB / 0.7656 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.8971, allocations: 53.56 kB / 0.7656 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003639/0.8975, allocations: 315.4 kB / 0.7659 GB, free: 15 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.8975, allocations: 33.16 kB / 0.766 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.8976, allocations: 204 kB / 0.7662 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.8977, allocations: 38.44 kB / 0.7662 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.409e-05/0.8978, allocations: 52.66 kB / 0.7663 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.8979, allocations: 338.1 kB / 0.7666 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001597/0.8981, allocations: 58.8 kB / 0.7666 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.8983, allocations: 200.8 kB / 0.7668 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.8988, allocations: 238.8 kB / 0.7671 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.8988, allocations: 1.156 kB / 0.7671 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005751/0.8993, allocations: 259.4 kB / 0.7673 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.8994, allocations: 6.719 kB / 0.7673 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.8994, allocations: 4.312 kB / 0.7673 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.367e-05/0.8994, allocations: 5.25 kB / 0.7673 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.8997, allocations: 52.53 kB / 0.7674 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.8997, allocations: 8.062 kB / 0.7674 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000285/0.9, allocations: 33.34 kB / 0.7674 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.9, allocations: 14.94 kB / 0.7674 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003015/0.9003, allocations: 169.8 kB / 0.7676 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002641/0.9006, allocations: 195.8 kB / 0.7678 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003757/0.901, allocations: 227.8 kB / 0.768 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.926e-06/0.901, allocations: 1.094 kB / 0.768 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004578/0.9015, allocations: 250.7 kB / 0.7682 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.9015, allocations: 17.16 kB / 0.7682 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.9015, allocations: 3.406 kB / 0.7683 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.67e-06/0.9015, allocations: 7.266 kB / 0.7683 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.9017, allocations: 53.66 kB / 0.7683 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.9017, allocations: 9.906 kB / 0.7683 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.902, allocations: 27.44 kB / 0.7683 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.902, allocations: 10.78 kB / 0.7684 GB, free: 13.71 MB / 0.5919 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.000124/0.9021, allocations: 198.8 kB / 0.7685 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.9022, allocations: 29.66 kB / 0.7686 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000369/0.9026, allocations: 168.4 kB / 0.7687 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.9026, allocations: 0.75 kB / 0.7687 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.9026, allocations: 0.8125 kB / 0.7687 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.9026, allocations: 0 / 0.7687 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009424/0.9035, allocations: 0.6136 MB / 0.7693 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.9036, allocations: 1.875 kB / 0.7693 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/0.9037, allocations: 29.92 kB / 0.7694 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.9037, allocations: 3.406 kB / 0.7694 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.9037, allocations: 6.688 kB / 0.7694 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.9037, allocations: 6.906 kB / 0.7694 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.9037, allocations: 3.938 kB / 0.7694 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.9041, allocations: 304.2 kB / 0.7697 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.9043, allocations: 115.8 kB / 0.7698 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.9043, allocations: 3.156 kB / 0.7698 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.9045, allocations: 14.06 kB / 0.7698 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.9046, allocations: 15.73 kB / 0.7698 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.9046, allocations: 8.531 kB / 0.7698 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002675/0.9049, allocations: 227.9 kB / 0.77 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9049, allocations: 0 / 0.77 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007049/0.9056, allocations: 134.2 kB / 0.7702 GB, free: 12.7 MB / 0.5919 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.0004559/0.906, allocations: 159 kB / 0.7703 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005838/0.9066, allocations: 257.2 kB / 0.7706 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.9066, allocations: 0.7812 kB / 0.7706 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.9068, allocations: 63.48 kB / 0.7706 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008249/0.9076, allocations: 126.8 kB / 0.7707 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008536/0.9085, allocations: 0.5339 MB / 0.7713 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.9088, allocations: 0.7743 MB / 0.772 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.582e-05/0.9089, allocations: 30.53 kB / 0.7721 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of SimCode: time 1.223e-06/0.9089, allocations: 0 / 0.7721 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of Templates: time 0.007653/0.9165, allocations: 4.451 MB / 0.7764 GB, free: 11.33 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)