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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001666, allocations: 171.6 kB / 7.641 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7959/0.7959, allocations: 130.7 MB / 138.7 MB, free: 3.527 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 221.5 MB / 391.8 MB, free: 14.24 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008918/0.0008918, allocations: 93.56 kB / 473.9 MB, free: 4.461 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.504e-05, allocations: 8 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5344/0.5344, allocations: 81.56 MB / 0.6282 GB, free: 42.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.322/5.857, allocations: 1.832 GB / 2.46 GB, free: 79.97 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/5.857, allocations: 83.52 kB / 2.46 GB, free: 79.93 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.072/6.929, allocations: 342.3 MB / 2.795 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.357e-06/6.929, allocations: 0 / 2.795 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.061e-05/6.929, allocations: 16 kB / 2.795 GB, free: 5.453 MB / 0.6667 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.002118/6.932, allocations: 0.6579 MB / 2.795 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.45e-05/6.932, allocations: 8.031 kB / 2.795 GB, free: 4.738 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005872/6.932, allocations: 67.45 kB / 2.795 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007748/6.933, allocations: 326.6 kB / 2.796 GB, free: 4.316 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/6.933, allocations: 12 kB / 2.796 GB, free: 4.305 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.824e-05/6.933, allocations: 16 kB / 2.796 GB, free: 4.289 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003132/6.933, allocations: 112.8 kB / 2.796 GB, free: 4.18 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/6.934, allocations: 251.8 kB / 2.796 GB, free: 3.895 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/6.934, allocations: 0 / 2.796 GB, free: 3.895 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/6.934, allocations: 0 / 2.796 GB, free: 3.895 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/6.934, allocations: 19.88 kB / 2.796 GB, free: 3.875 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.001994/6.936, allocations: 1.644 MB / 2.798 GB, free: 2.125 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/6.936, allocations: 70.58 kB / 2.798 GB, free: 2.047 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/6.936, allocations: 56.89 kB / 2.798 GB, free: 1.988 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003378/6.937, allocations: 190.2 kB / 2.798 GB, free: 1.766 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/6.937, allocations: 34.56 kB / 2.798 GB, free: 1.723 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/6.937, allocations: 0 / 2.798 GB, free: 1.723 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.0005778/6.937, allocations: 149.2 kB / 2.798 GB, free: 1.57 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/6.937, allocations: 51.41 kB / 2.798 GB, free: 1.508 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/6.938, allocations: 218.3 kB / 2.798 GB, free: 1.281 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/6.938, allocations: 25.7 kB / 2.798 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/6.938, allocations: 203.8 kB / 2.799 GB, free: 1.047 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/6.938, allocations: 43.61 kB / 2.799 GB, free: 1.004 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/6.938, allocations: 0 / 2.799 GB, free: 1.004 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.668e-05/6.938, allocations: 346.7 kB / 2.799 GB, free: 0.6562 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.833e-05/6.938, allocations: 32 kB / 2.799 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/6.938, allocations: 183.3 kB / 2.799 GB, free: 384 kB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.687e-05/6.938, allocations: 71.89 kB / 2.799 GB, free: 312 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/6.938, allocations: 0 / 2.799 GB, free: 312 kB / 0.6667 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002772/6.938, allocations: 201.1 kB / 2.8 GB, free: 104 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.5974/7.536, allocations: 1.389 MB / 2.801 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/7.536, allocations: 3.562 kB / 2.801 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/7.536, allocations: 8.375 kB / 2.801 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/7.536, allocations: 56.52 kB / 2.801 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/7.536, allocations: 9.406 kB / 2.801 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004518/7.537, allocations: 30.77 kB / 2.801 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/7.537, allocations: 14.78 kB / 2.801 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/7.537, allocations: 3.594 kB / 2.801 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003729/7.537, allocations: 143 kB / 2.801 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/7.537, allocations: 5.219 kB / 2.801 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/7.537, allocations: 5 kB / 2.801 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/7.538, allocations: 52.08 kB / 2.801 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/7.538, allocations: 9.297 kB / 2.801 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/7.538, allocations: 31.45 kB / 2.801 GB, free: 157.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/7.538, allocations: 11.61 kB / 2.801 GB, free: 157.9 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001071/7.538, allocations: 116.3 kB / 2.801 GB, free: 157.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-05/7.538, allocations: 30.33 kB / 2.801 GB, free: 157.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000371/7.538, allocations: 129.9 kB / 2.802 GB, free: 157.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/7.538, allocations: 5.312 kB / 2.802 GB, free: 157.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/7.538, allocations: 0 / 2.802 GB, free: 157.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/7.539, allocations: 1.203 kB / 2.802 GB, free: 157.7 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009276/7.539, allocations: 0.5318 MB / 2.802 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/7.539, allocations: 1.438 kB / 2.802 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/7.54, allocations: 30.02 kB / 2.802 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/7.54, allocations: 3.594 kB / 2.802 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/7.54, allocations: 9.375 kB / 2.802 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/7.54, allocations: 2.781 kB / 2.802 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/7.54, allocations: 2.562 kB / 2.802 GB, free: 157.4 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/7.54, allocations: 361.8 kB / 2.802 GB, free: 157.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/7.54, allocations: 116.7 kB / 2.803 GB, free: 157 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/7.54, allocations: 4.062 kB / 2.803 GB, free: 157 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002095/7.54, allocations: 15.86 kB / 2.803 GB, free: 157 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.315e-05/7.54, allocations: 16.41 kB / 2.803 GB, free: 157 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/7.54, allocations: 4.438 kB / 2.803 GB, free: 157 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001898/7.541, allocations: 175.8 kB / 2.803 GB, free: 156.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.2e-07/7.541, allocations: 0 / 2.803 GB, free: 156.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001116/7.542, allocations: 217.3 kB / 2.803 GB, free: 156.9 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002724/7.545, allocations: 1.411 MB / 2.804 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005125/7.545, allocations: 193.4 kB / 2.805 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/7.545, allocations: 0.75 kB / 2.805 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 9.779e-05/7.545, allocations: 49.05 kB / 2.805 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007094/7.546, allocations: 102.6 kB / 2.805 GB, free: 156.6 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007204/7.547, allocations: 348.6 kB / 2.805 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/7.547, allocations: 0.785 MB / 2.806 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003745/7.547, allocations: 89.38 kB / 2.806 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/7.547, allocations: 20.09 kB / 2.806 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of SimCode: time 5.61e-07/7.547, allocations: 0 / 2.806 GB, free: 155.7 MB / 0.6667 GB Notification: Performance of Templates: time 0.02148/7.569, allocations: 11.3 MB / 2.817 GB, free: 155.5 MB / 0.6667 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)