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.001515/0.001515, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.939/0.939, allocations: 135.1 MB / 425.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.92 kB / 0.5053 GB, free: 5.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1701, allocations: 80.92 MB / 0.5844 GB, free: 4.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.4759/0.646, allocations: 169.4 MB / 0.7498 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008988/0.655, allocations: 7.316 MB / 0.757 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006957/0.6558, allocations: 12.03 kB / 0.757 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000779/0.6566, allocations: 213.8 kB / 0.7572 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0018/0.6584, allocations: 0.5783 MB / 0.7578 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.6599, allocations: 432 kB / 0.7582 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001288/0.6612, allocations: 0.7028 MB / 0.7589 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000487/0.6617, allocations: 264.6 kB / 0.7591 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009374/0.6627, allocations: 390.5 kB / 0.7595 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003145/0.663, allocations: 211 kB / 0.7597 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.684e-05/0.6631, allocations: 20 kB / 0.7597 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/0.6646, allocations: 0.6976 MB / 0.7604 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.6648, allocations: 115.7 kB / 0.7605 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.665, allocations: 155.2 kB / 0.7606 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008698/0.6658, allocations: 0.5647 MB / 0.7612 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6659, allocations: 0 / 0.7612 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.6659, allocations: 0 / 0.7612 GB, free: 8.047 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.6659, allocations: 4 kB / 0.7612 GB, free: 8.043 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.0009733/0.6669, allocations: 0.6386 MB / 0.7618 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.6669, allocations: 15.97 kB / 0.7618 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005355/0.6675, allocations: 67.48 kB / 0.7619 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005456/0.668, allocations: 307.6 kB / 0.7622 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.6681, allocations: 16.44 kB / 0.7622 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.6681, allocations: 28 kB / 0.7622 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000666/0.6688, allocations: 296.6 kB / 0.7625 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.6688, allocations: 11.94 kB / 0.7625 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.6689, allocations: 8 kB / 0.7625 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.6689, allocations: 8 kB / 0.7625 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/0.6694, allocations: 171.7 kB / 0.7627 GB, free: 6.371 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.002179/0.6716, allocations: 1.697 MB / 0.7644 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.6719, allocations: 94.56 kB / 0.7645 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.6722, allocations: 76.8 kB / 0.7645 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003581/0.6725, allocations: 190.2 kB / 0.7647 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.6726, allocations: 38.5 kB / 0.7647 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 2.956e-06/0.6726, allocations: 0 / 0.7647 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0009221/0.6735, allocations: 227.8 kB / 0.765 GB, free: 3.883 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.6736, allocations: 51.41 kB / 0.765 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004536/0.674, allocations: 320.5 kB / 0.7653 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.6741, allocations: 33.7 kB / 0.7653 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.6743, allocations: 195.8 kB / 0.7655 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/0.6743, allocations: 43.45 kB / 0.7656 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.6744, allocations: 45.61 kB / 0.7656 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6746, allocations: 338.8 kB / 0.7659 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/0.6748, allocations: 64.81 kB / 0.766 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003717/0.6752, allocations: 195.5 kB / 0.7662 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004885/0.6757, allocations: 233.4 kB / 0.7664 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.6757, allocations: 4 kB / 0.7664 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006412/0.6764, allocations: 256.3 kB / 0.7667 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.6764, allocations: 8.062 kB / 0.7667 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.6764, allocations: 4 kB / 0.7667 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.6765, allocations: 4 kB / 0.7667 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002628/0.6767, allocations: 51.91 kB / 0.7667 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.6768, allocations: 4 kB / 0.7667 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.6771, allocations: 39.67 kB / 0.7668 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.6772, allocations: 15.94 kB / 0.7668 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003182/0.6775, allocations: 168.1 kB / 0.7669 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003208/0.6778, allocations: 198.1 kB / 0.7671 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004823/0.6783, allocations: 233.6 kB / 0.7674 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.6783, allocations: 0 / 0.7674 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006361/0.679, allocations: 257.1 kB / 0.7676 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.679, allocations: 12.03 kB / 0.7676 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.679, allocations: 4 kB / 0.7676 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.375e-06/0.679, allocations: 4 kB / 0.7676 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.6793, allocations: 43.92 kB / 0.7677 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.6793, allocations: 7.984 kB / 0.7677 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.6796, allocations: 23.89 kB / 0.7677 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.6797, allocations: 16 kB / 0.7677 GB, free: 0.793 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.0001598/0.6798, allocations: 193.5 kB / 0.7679 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.393e-05/0.6799, allocations: 35.66 kB / 0.7679 GB, free: 0.5625 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005111/0.6804, allocations: 169.5 kB / 0.7681 GB, free: 396 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.6805, allocations: 0 / 0.7681 GB, free: 396 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.6805, allocations: 3.938 kB / 0.7681 GB, free: 392 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.6805, allocations: 0 / 0.7681 GB, free: 392 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.6818, allocations: 0.6133 MB / 0.7687 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.6818, allocations: 4 kB / 0.7687 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001587/0.682, allocations: 19.98 kB / 0.7687 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.682, allocations: 12.16 kB / 0.7687 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/0.682, allocations: 4.875 kB / 0.7687 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.682, allocations: 0 / 0.7687 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.6821, allocations: 7.938 kB / 0.7687 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005467/0.6826, allocations: 300.9 kB / 0.769 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.6828, allocations: 112.8 kB / 0.7691 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/0.6828, allocations: 4 kB / 0.7691 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.6831, allocations: 12.17 kB / 0.7691 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.6832, allocations: 16.61 kB / 0.7692 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.6832, allocations: 11.98 kB / 0.7692 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003375/0.6836, allocations: 227 kB / 0.7694 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/0.6836, allocations: 7.875 kB / 0.7694 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008589/0.6845, allocations: 127.8 kB / 0.7695 GB, free: 14.79 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.0004853/0.685, allocations: 168.4 kB / 0.7697 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008065/0.6858, allocations: 256.9 kB / 0.7699 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6858, allocations: 0 / 0.7699 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.686, allocations: 60.09 kB / 0.77 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.6872, allocations: 118.6 kB / 0.7701 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.6884, allocations: 0.5108 MB / 0.7706 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.6888, allocations: 0.7756 MB / 0.7714 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004181/0.6893, allocations: 89.17 kB / 0.7714 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.166e-05/0.6894, allocations: 23.44 kB / 0.7715 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.6894, allocations: 4 kB / 0.7715 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of Templates: time 0.01379/0.7032, allocations: 4.875 MB / 0.7762 GB, free: 7.973 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)