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.001314/0.001315, allocations: 104.4 kB / 16.35 MB, free: 5.828 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.001224/0.001224, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8111/0.8111, allocations: 132.2 MB / 423.3 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5029/0.5049, allocations: 80.18 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.1827/0.6877, allocations: 169.5 MB / 0.747 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4028/1.091, allocations: 7.304 MB / 0.7541 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009001/1.091, allocations: 14.16 kB / 0.7541 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009933/1.092, allocations: 214 kB / 0.7543 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002114/1.095, allocations: 0.579 MB / 0.7549 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001337/1.096, allocations: 441.1 kB / 0.7553 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009153/1.097, allocations: 0.7059 MB / 0.756 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004087/1.097, allocations: 267.4 kB / 0.7562 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006431/1.098, allocations: 377.8 kB / 0.7566 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/1.098, allocations: 216.8 kB / 0.7568 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.661e-05/1.098, allocations: 20.19 kB / 0.7568 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/1.099, allocations: 0.7065 MB / 0.7575 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/1.1, allocations: 107.9 kB / 0.7576 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002085/1.1, allocations: 153.8 kB / 0.7578 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008947/1.101, allocations: 0.5764 MB / 0.7583 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/1.101, allocations: 0 / 0.7583 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/1.101, allocations: 0.9062 kB / 0.7583 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.323e-05/1.101, allocations: 1.031 kB / 0.7583 GB, free: 1.684 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.001199/1.102, allocations: 0.6341 MB / 0.759 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/1.102, allocations: 9.875 kB / 0.759 GB, free: 17.2 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000463/1.103, allocations: 66.55 kB / 0.759 GB, free: 17.18 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006137/1.103, allocations: 324.8 kB / 0.7593 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/1.103, allocations: 17.75 kB / 0.7594 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/1.103, allocations: 24.66 kB / 0.7594 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005844/1.104, allocations: 303 kB / 0.7597 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/1.104, allocations: 2.625 kB / 0.7597 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/1.104, allocations: 9.5 kB / 0.7597 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/1.104, allocations: 10.19 kB / 0.7597 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/1.104, allocations: 175 kB / 0.7599 GB, free: 16.83 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.001953/1.106, allocations: 1.699 MB / 0.7615 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/1.107, allocations: 85.62 kB / 0.7616 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/1.107, allocations: 77.88 kB / 0.7617 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002882/1.107, allocations: 188.7 kB / 0.7618 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/1.107, allocations: 33.2 kB / 0.7619 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=11): time 1.393e-06/1.107, allocations: 1.688 kB / 0.7619 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11): time 0.000727/1.108, allocations: 231.6 kB / 0.7621 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/1.108, allocations: 52.84 kB / 0.7622 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00037/1.108, allocations: 324.8 kB / 0.7625 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/1.108, allocations: 27.05 kB / 0.7625 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/1.108, allocations: 200.6 kB / 0.7627 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/1.109, allocations: 39.14 kB / 0.7627 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.95e-05/1.109, allocations: 51.52 kB / 0.7628 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.109, allocations: 342.1 kB / 0.7631 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001622/1.109, allocations: 59.64 kB / 0.7632 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/1.109, allocations: 200.9 kB / 0.7633 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/1.11, allocations: 231.3 kB / 0.7636 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.11, allocations: 1.125 kB / 0.7636 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005676/1.11, allocations: 255.4 kB / 0.7638 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/1.11, allocations: 11.19 kB / 0.7638 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.11, allocations: 3.781 kB / 0.7638 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/1.11, allocations: 7.094 kB / 0.7638 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/1.11, allocations: 50.44 kB / 0.7639 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/1.111, allocations: 9.031 kB / 0.7639 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/1.111, allocations: 33.33 kB / 0.7639 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/1.111, allocations: 14.28 kB / 0.7639 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002533/1.111, allocations: 166.8 kB / 0.7641 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002391/1.111, allocations: 193.7 kB / 0.7643 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003663/1.112, allocations: 236.6 kB / 0.7645 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.018e-06/1.112, allocations: 3.094 kB / 0.7645 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005196/1.112, allocations: 248.6 kB / 0.7647 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/1.112, allocations: 12.58 kB / 0.7648 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/1.112, allocations: 3.875 kB / 0.7648 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/1.112, allocations: 11.41 kB / 0.7648 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/1.112, allocations: 45.11 kB / 0.7648 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/1.113, allocations: 8.344 kB / 0.7648 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/1.113, allocations: 27.14 kB / 0.7648 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/1.113, allocations: 14.19 kB / 0.7649 GB, free: 13.78 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.0001306/1.113, allocations: 195.2 kB / 0.765 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/1.113, allocations: 34.06 kB / 0.7651 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003665/1.113, allocations: 167.4 kB / 0.7652 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/1.113, allocations: 3.375 kB / 0.7652 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/1.113, allocations: 0 / 0.7652 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.113, allocations: 3.781 kB / 0.7652 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008548/1.114, allocations: 0.6144 MB / 0.7658 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.114, allocations: 0.875 kB / 0.7658 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/1.114, allocations: 27.02 kB / 0.7659 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/1.114, allocations: 3.969 kB / 0.7659 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/1.114, allocations: 0 / 0.7659 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/1.114, allocations: 6.188 kB / 0.7659 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.114, allocations: 3.5 kB / 0.7659 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/1.115, allocations: 309.4 kB / 0.7662 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/1.115, allocations: 110.4 kB / 0.7663 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/1.115, allocations: 5.828 kB / 0.7663 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/1.115, allocations: 16.02 kB / 0.7663 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.348e-05/1.115, allocations: 14.14 kB / 0.7663 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/1.115, allocations: 12.52 kB / 0.7663 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002009/1.115, allocations: 224.4 kB / 0.7665 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.115, allocations: 0 / 0.7665 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000601/1.116, allocations: 128.9 kB / 0.7667 GB, free: 12.77 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.0004085/1.116, allocations: 171.6 kB / 0.7668 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005085/1.117, allocations: 256 kB / 0.7671 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.117, allocations: 0 / 0.7671 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/1.117, allocations: 67 kB / 0.7671 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006978/1.118, allocations: 124.3 kB / 0.7673 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009511/1.119, allocations: 499.2 kB / 0.7677 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/1.119, allocations: 0.7765 MB / 0.7685 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002793/1.12, allocations: 86.64 kB / 0.7686 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.716e-05/1.12, allocations: 28.89 kB / 0.7686 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/1.12, allocations: 1.094 kB / 0.7686 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of Templates: time 0.01049/1.13, allocations: 4.871 MB / 0.7734 GB, free: 11.54 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)