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.001094/0.001094, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001186/0.001186, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.393/1.393, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9434/0.9434, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 64.91 kB / 0.5047 GB, free: 5.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1906, allocations: 80.93 MB / 0.5837 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.5314/0.722, allocations: 167.2 MB / 0.747 GB, free: 3.793 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008092/0.7301, allocations: 7.337 MB / 0.7541 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005976/0.7307, allocations: 15.94 kB / 0.7542 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007291/0.7315, allocations: 180.8 kB / 0.7543 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001521/0.7331, allocations: 0.539 MB / 0.7549 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.7343, allocations: 381.1 kB / 0.7552 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001086/0.7354, allocations: 1.028 MB / 0.7562 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003659/0.7358, allocations: 227.7 kB / 0.7564 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007063/0.7365, allocations: 336.9 kB / 0.7568 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.7368, allocations: 233.1 kB / 0.757 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.803e-05/0.7368, allocations: 16 kB / 0.757 GB, free: 12 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.7382, allocations: 0.7794 MB / 0.7578 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.7383, allocations: 111.7 kB / 0.7579 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.7385, allocations: 147.2 kB / 0.758 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009336/0.7394, allocations: 0.5842 MB / 0.7586 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.7395, allocations: 0 / 0.7586 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7395, allocations: 0 / 0.7586 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.7395, allocations: 0 / 0.7586 GB, free: 10.38 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.001093/0.7406, allocations: 0.6464 MB / 0.7592 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.7406, allocations: 12.03 kB / 0.7592 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003899/0.741, allocations: 67.48 kB / 0.7593 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.7415, allocations: 298.2 kB / 0.7596 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.7415, allocations: 16.44 kB / 0.7596 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.7416, allocations: 24 kB / 0.7596 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004684/0.742, allocations: 304.5 kB / 0.7599 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.7421, allocations: 7.875 kB / 0.7599 GB, free: 8.895 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.7421, allocations: 12 kB / 0.7599 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.7421, allocations: 8 kB / 0.7599 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003626/0.7425, allocations: 171.8 kB / 0.7601 GB, free: 8.707 MB / 0.5762 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.001892/0.7444, allocations: 1.698 MB / 0.7618 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.7447, allocations: 90.47 kB / 0.7618 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.7449, allocations: 88.81 kB / 0.7619 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003722/0.7453, allocations: 182.2 kB / 0.7621 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.7453, allocations: 38.5 kB / 0.7621 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.7453, allocations: 0 / 0.7621 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.000744/0.7461, allocations: 225.1 kB / 0.7623 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.7461, allocations: 55.34 kB / 0.7624 GB, free: 6.152 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003871/0.7465, allocations: 320.5 kB / 0.7627 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.7465, allocations: 29.7 kB / 0.7627 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.7468, allocations: 195.8 kB / 0.7629 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.7468, allocations: 39.45 kB / 0.763 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.77e-05/0.7469, allocations: 53.61 kB / 0.763 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.7471, allocations: 338.8 kB / 0.7633 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.7473, allocations: 60.81 kB / 0.7634 GB, free: 5.105 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.7476, allocations: 186.3 kB / 0.7636 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.748, allocations: 241.4 kB / 0.7638 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.748, allocations: 0 / 0.7638 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004765/0.7485, allocations: 252.9 kB / 0.764 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.7485, allocations: 8 kB / 0.764 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.7485, allocations: 4 kB / 0.7641 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.7485, allocations: 4 kB / 0.7641 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.7487, allocations: 55.62 kB / 0.7641 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.7487, allocations: 7.938 kB / 0.7641 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.749, allocations: 47.66 kB / 0.7642 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.749, allocations: 12 kB / 0.7642 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002339/0.7493, allocations: 168.1 kB / 0.7643 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002332/0.7495, allocations: 187.2 kB / 0.7645 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003302/0.7499, allocations: 237.5 kB / 0.7647 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.7499, allocations: 0 / 0.7647 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004254/0.7503, allocations: 256.8 kB / 0.765 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.7503, allocations: 8 kB / 0.765 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.7503, allocations: 4 kB / 0.765 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-06/0.7503, allocations: 4 kB / 0.765 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.7505, allocations: 52.31 kB / 0.7651 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.7505, allocations: 12.89 kB / 0.7651 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.7508, allocations: 31.83 kB / 0.7651 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.7508, allocations: 12 kB / 0.7651 GB, free: 3.121 MB / 0.5762 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.0001183/0.7509, allocations: 196.2 kB / 0.7653 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.751, allocations: 27.66 kB / 0.7653 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003893/0.7513, allocations: 172.3 kB / 0.7655 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.7514, allocations: 4 kB / 0.7655 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.7514, allocations: 0 / 0.7655 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7514, allocations: 0 / 0.7655 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009024/0.7523, allocations: 0.6054 MB / 0.7661 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.7523, allocations: 3.984 kB / 0.7661 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.7524, allocations: 31.86 kB / 0.7661 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.7525, allocations: 4 kB / 0.7661 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.7525, allocations: 0 / 0.7661 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.329e-06/0.7525, allocations: 8.219 kB / 0.7661 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.7525, allocations: 7.938 kB / 0.7661 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004109/0.7529, allocations: 301.7 kB / 0.7664 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.753, allocations: 112.8 kB / 0.7665 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.7531, allocations: 8.875 kB / 0.7665 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.7533, allocations: 11.98 kB / 0.7665 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.074e-05/0.7533, allocations: 20.05 kB / 0.7666 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.7534, allocations: 12 kB / 0.7666 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002267/0.7536, allocations: 227 kB / 0.7668 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7536, allocations: 0 / 0.7668 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005623/0.7542, allocations: 131.8 kB / 0.7669 GB, free: 1.113 MB / 0.5762 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.0003932/0.7546, allocations: 172 kB / 0.7671 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005471/0.7551, allocations: 245 kB / 0.7673 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7551, allocations: 4 kB / 0.7673 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.7553, allocations: 64.14 kB / 0.7674 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/0.7562, allocations: 141.6 kB / 0.7675 GB, free: 0.5156 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008744/0.7571, allocations: 0.587 MB / 0.7681 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.7574, allocations: 0.7719 MB / 0.7688 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002796/0.7577, allocations: 87.53 kB / 0.7689 GB, free: 15 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.7578, allocations: 27.44 kB / 0.769 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of SimCode: time 2.11e-07/0.7578, allocations: 0 / 0.769 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of Templates: time 0.009035/0.7668, allocations: 4.741 MB / 0.7736 GB, free: 10.34 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)