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.00155/0.00155, allocations: 115 kB / 16.37 MB, free: 6.016 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.001676/0.001676, allocations: 193.2 kB / 17.31 MB, free: 5.609 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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8335/0.8335, allocations: 132.2 MB / 423.3 MB, free: 6.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002096/0.002096, allocations: 59.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4195/0.4216, allocations: 80.18 MB / 0.5815 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.1765/0.5981, allocations: 169.5 MB / 0.747 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3259/0.9241, allocations: 7.31 MB / 0.7541 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007279/0.9248, allocations: 10.94 kB / 0.7541 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008942/0.9257, allocations: 209.2 kB / 0.7543 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.9275, allocations: 0.5866 MB / 0.7549 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/0.9287, allocations: 434.4 kB / 0.7553 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009555/0.9296, allocations: 0.7096 MB / 0.756 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.93, allocations: 258.8 kB / 0.7563 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006343/0.9307, allocations: 382.3 kB / 0.7566 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002844/0.931, allocations: 221.2 kB / 0.7568 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.931, allocations: 18.5 kB / 0.7568 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001202/0.9322, allocations: 0.7028 MB / 0.7575 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.9324, allocations: 107.7 kB / 0.7576 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.9326, allocations: 156.3 kB / 0.7578 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000918/0.9335, allocations: 0.5765 MB / 0.7583 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.9335, allocations: 1.656 kB / 0.7583 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9335, allocations: 0.875 kB / 0.7583 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.228e-05/0.9336, allocations: 0 / 0.7583 GB, free: 1.703 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.001059/0.9346, allocations: 0.6382 MB / 0.759 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.9347, allocations: 10.06 kB / 0.759 GB, free: 17.22 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003754/0.9351, allocations: 65.52 kB / 0.759 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004703/0.9355, allocations: 318.2 kB / 0.7593 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.9356, allocations: 18.75 kB / 0.7594 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.948e-05/0.9356, allocations: 24.31 kB / 0.7594 GB, free: 16.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/0.9362, allocations: 304.8 kB / 0.7597 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.9362, allocations: 1.875 kB / 0.7597 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.9362, allocations: 9.75 kB / 0.7597 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.9362, allocations: 9.562 kB / 0.7597 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003997/0.9366, allocations: 177.6 kB / 0.7599 GB, free: 16.85 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.001861/0.9385, allocations: 1.695 MB / 0.7615 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.9388, allocations: 85.52 kB / 0.7616 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.939, allocations: 79.41 kB / 0.7617 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002978/0.9393, allocations: 192.4 kB / 0.7619 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.9393, allocations: 36.73 kB / 0.7619 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.243e-06/0.9393, allocations: 0.5625 kB / 0.7619 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0007232/0.94, allocations: 226.6 kB / 0.7621 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.9401, allocations: 54.34 kB / 0.7622 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/0.9405, allocations: 319 kB / 0.7625 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.9405, allocations: 27.73 kB / 0.7625 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.9407, allocations: 200.2 kB / 0.7627 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.483e-05/0.9407, allocations: 43.66 kB / 0.7627 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.393e-05/0.9408, allocations: 53.94 kB / 0.7628 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.941, allocations: 343.3 kB / 0.7631 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.9411, allocations: 58.08 kB / 0.7632 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002635/0.9414, allocations: 199.9 kB / 0.7634 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003779/0.9418, allocations: 236.8 kB / 0.7636 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.9418, allocations: 1.094 kB / 0.7636 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005534/0.9424, allocations: 249.4 kB / 0.7638 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.9424, allocations: 13.75 kB / 0.7638 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.9424, allocations: 4.625 kB / 0.7638 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.9424, allocations: 4.656 kB / 0.7638 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.9427, allocations: 51.52 kB / 0.7639 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.9427, allocations: 4.75 kB / 0.7639 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002664/0.943, allocations: 37.39 kB / 0.7639 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/0.943, allocations: 14.53 kB / 0.7639 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000259/0.9433, allocations: 167 kB / 0.7641 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002363/0.9435, allocations: 195 kB / 0.7643 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003491/0.9439, allocations: 234.3 kB / 0.7645 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.366e-06/0.9439, allocations: 2.094 kB / 0.7645 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005096/0.9444, allocations: 256.2 kB / 0.7648 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.9444, allocations: 4.375 kB / 0.7648 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.9444, allocations: 7.438 kB / 0.7648 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/0.9444, allocations: 6.062 kB / 0.7648 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.9446, allocations: 43.98 kB / 0.7648 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.9446, allocations: 14.05 kB / 0.7648 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000235/0.9449, allocations: 24.17 kB / 0.7649 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.9449, allocations: 14.03 kB / 0.7649 GB, free: 13.79 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.0001962/0.9451, allocations: 199.8 kB / 0.7651 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.9451, allocations: 28.56 kB / 0.7651 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.9455, allocations: 169.5 kB / 0.7652 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.9455, allocations: 0.8125 kB / 0.7652 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.9455, allocations: 2.594 kB / 0.7653 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.9455, allocations: 0.9688 kB / 0.7653 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008298/0.9464, allocations: 0.6126 MB / 0.7659 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.9464, allocations: 3.906 kB / 0.7659 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.9465, allocations: 23.77 kB / 0.7659 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.9465, allocations: 5.672 kB / 0.7659 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.9465, allocations: 7 kB / 0.7659 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.9465, allocations: 5.406 kB / 0.7659 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.9465, allocations: 3.469 kB / 0.7659 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/0.9469, allocations: 301.8 kB / 0.7662 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.947, allocations: 115.1 kB / 0.7663 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.947, allocations: 7.219 kB / 0.7663 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.9472, allocations: 16.05 kB / 0.7663 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.9473, allocations: 26.53 kB / 0.7663 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.9473, allocations: 3.219 kB / 0.7663 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001973/0.9475, allocations: 229.1 kB / 0.7666 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9475, allocations: 0 / 0.7666 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006034/0.9481, allocations: 132.2 kB / 0.7667 GB, free: 12.78 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.0003443/0.9485, allocations: 165.1 kB / 0.7668 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005268/0.949, allocations: 249.9 kB / 0.7671 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.949, allocations: 0.75 kB / 0.7671 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.9492, allocations: 64.56 kB / 0.7671 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007303/0.95, allocations: 118.1 kB / 0.7673 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008846/0.9509, allocations: 0.4955 MB / 0.7677 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.9513, allocations: 0.7755 MB / 0.7685 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002541/0.9515, allocations: 87.56 kB / 0.7686 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.959e-05/0.9516, allocations: 24.16 kB / 0.7686 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.9516, allocations: 5.25 kB / 0.7686 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of Templates: time 0.009254/0.9609, allocations: 4.87 MB / 0.7734 GB, free: 11.55 MB / 0.5919 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)