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.001077/0.001077, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001168/0.001168, allocations: 198.6 kB / 16.91 MB, free: 6.195 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.308/1.308, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7547/0.7547, allocations: 132.2 MB / 422.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 63.84 kB / 0.5019 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3404, allocations: 80.19 MB / 0.5802 GB, free: 27.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.1639/0.5044, allocations: 167.2 MB / 0.7435 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3638/0.8682, allocations: 7.253 MB / 0.7506 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007877/0.8691, allocations: 13.28 kB / 0.7506 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009303/0.87, allocations: 183.2 kB / 0.7507 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.8723, allocations: 0.5372 MB / 0.7513 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.8738, allocations: 396.8 kB / 0.7516 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00163/0.8754, allocations: 0.7077 MB / 0.7523 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004923/0.8759, allocations: 254.4 kB / 0.7526 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007282/0.8767, allocations: 382.5 kB / 0.7529 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.8769, allocations: 228.2 kB / 0.7532 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.84e-05/0.877, allocations: 20.28 kB / 0.7532 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.8781, allocations: 0.7192 MB / 0.7539 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.8783, allocations: 110 kB / 0.754 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.8785, allocations: 154.9 kB / 0.7541 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005456/0.879, allocations: 425.3 kB / 0.7545 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.879, allocations: 1 kB / 0.7545 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.603e-06/0.879, allocations: 0 / 0.7545 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.879, allocations: 1 kB / 0.7545 GB, free: 1.73 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.0009431/0.88, allocations: 0.632 MB / 0.7552 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.367e-05/0.88, allocations: 9.156 kB / 0.7552 GB, free: 17.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003445/0.8804, allocations: 64.58 kB / 0.7552 GB, free: 17.23 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.8808, allocations: 313.5 kB / 0.7555 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.8808, allocations: 18.88 kB / 0.7555 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.8808, allocations: 23.44 kB / 0.7556 GB, free: 17.01 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.8813, allocations: 300.2 kB / 0.7559 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.8813, allocations: 3.906 kB / 0.7559 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.8814, allocations: 14.25 kB / 0.7559 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.8814, allocations: 5.875 kB / 0.7559 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.8818, allocations: 180 kB / 0.756 GB, free: 16.88 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.001593/0.8834, allocations: 1.7 MB / 0.7577 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.8836, allocations: 82.55 kB / 0.7578 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.8838, allocations: 80.16 kB / 0.7579 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002756/0.8841, allocations: 185.5 kB / 0.758 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.8841, allocations: 39.86 kB / 0.7581 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.853e-06/0.8841, allocations: 0 / 0.7581 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.0006854/0.8848, allocations: 229 kB / 0.7583 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.8849, allocations: 54.19 kB / 0.7583 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.8852, allocations: 319 kB / 0.7587 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.8853, allocations: 28.42 kB / 0.7587 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.8854, allocations: 201.2 kB / 0.7589 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.8854, allocations: 40.14 kB / 0.7589 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.089e-05/0.8855, allocations: 52.88 kB / 0.759 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.8857, allocations: 337.7 kB / 0.7593 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.8858, allocations: 61.17 kB / 0.7593 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.8861, allocations: 201.2 kB / 0.7595 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.8864, allocations: 230.6 kB / 0.7598 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.8864, allocations: 2 kB / 0.7598 GB, free: 14.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005227/0.887, allocations: 254.7 kB / 0.76 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.887, allocations: 6.656 kB / 0.76 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.887, allocations: 5.406 kB / 0.76 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.887, allocations: 9.031 kB / 0.76 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.8872, allocations: 53.52 kB / 0.7601 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.8873, allocations: 6.578 kB / 0.7601 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.8875, allocations: 38.78 kB / 0.7601 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.476e-05/0.8876, allocations: 12.41 kB / 0.7601 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000239/0.8878, allocations: 171.5 kB / 0.7603 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002193/0.8881, allocations: 193 kB / 0.7605 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003405/0.8884, allocations: 234.8 kB / 0.7607 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.557e-06/0.8884, allocations: 1.062 kB / 0.7607 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005079/0.8889, allocations: 252.3 kB / 0.7609 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.889, allocations: 10.41 kB / 0.7609 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.889, allocations: 4.859 kB / 0.761 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.889, allocations: 5.188 kB / 0.761 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.8892, allocations: 49.59 kB / 0.761 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.8892, allocations: 5.688 kB / 0.761 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002616/0.8895, allocations: 29.48 kB / 0.761 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/0.8895, allocations: 14.3 kB / 0.7611 GB, free: 13.83 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.0001295/0.8897, allocations: 199.6 kB / 0.7612 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.357e-05/0.8897, allocations: 35.61 kB / 0.7613 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004309/0.8902, allocations: 167.9 kB / 0.7614 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.8902, allocations: 2.109 kB / 0.7614 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.8902, allocations: 1.375 kB / 0.7614 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.8902, allocations: 4.469 kB / 0.7614 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.8912, allocations: 0.6107 MB / 0.762 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.8913, allocations: 2.219 kB / 0.762 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.8914, allocations: 26.06 kB / 0.7621 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.8914, allocations: 2.781 kB / 0.7621 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.8914, allocations: 6.188 kB / 0.7621 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.8914, allocations: 2.844 kB / 0.7621 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.8914, allocations: 3.422 kB / 0.7621 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004027/0.8919, allocations: 303.7 kB / 0.7624 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.892, allocations: 114.1 kB / 0.7625 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.322e-05/0.892, allocations: 5.469 kB / 0.7625 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.8922, allocations: 17.89 kB / 0.7625 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.8923, allocations: 16.48 kB / 0.7625 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.8923, allocations: 4.438 kB / 0.7625 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002694/0.8926, allocations: 231.4 kB / 0.7627 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8926, allocations: 0.5312 kB / 0.7627 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000644/0.8932, allocations: 140.4 kB / 0.7629 GB, free: 12.82 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.0003861/0.8936, allocations: 168.5 kB / 0.763 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005559/0.8942, allocations: 253.5 kB / 0.7633 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.8942, allocations: 0.6562 kB / 0.7633 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/0.8943, allocations: 61.92 kB / 0.7633 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007689/0.8951, allocations: 123.5 kB / 0.7635 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000838/0.896, allocations: 0.6195 MB / 0.7641 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.8963, allocations: 0.7748 MB / 0.7648 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.8964, allocations: 30.25 kB / 0.7648 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.8964, allocations: 0.875 kB / 0.7648 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of Templates: time 0.007351/0.9037, allocations: 4.434 MB / 0.7692 GB, free: 11.41 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)