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.0008195/0.0008194, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005775/0.005775, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.028/1.028, allocations: 135.3 MB / 426.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 11.98 kB / 0.5076 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1769, allocations: 82.3 MB / 0.588 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.5709/0.7478, allocations: 165 MB / 0.7491 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008501/0.7563, allocations: 7.226 MB / 0.7562 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004233/0.7568, allocations: 10.78 kB / 0.7562 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006924/0.7575, allocations: 177.4 kB / 0.7564 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.7591, allocations: 0.545 MB / 0.7569 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.7603, allocations: 384 kB / 0.7573 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001129/0.7614, allocations: 1.027 MB / 0.7583 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003851/0.7618, allocations: 225.5 kB / 0.7585 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008085/0.7626, allocations: 335.3 kB / 0.7588 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003143/0.7629, allocations: 226.5 kB / 0.759 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.35e-05/0.763, allocations: 16.06 kB / 0.759 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.7644, allocations: 0.7798 MB / 0.7598 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.7645, allocations: 97.34 kB / 0.7599 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.7647, allocations: 171.3 kB / 0.76 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008368/0.7656, allocations: 0.5832 MB / 0.7606 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.7656, allocations: 0 / 0.7606 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.405e-06/0.7656, allocations: 0 / 0.7606 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.7656, allocations: 0 / 0.7606 GB, free: 11.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.0009062/0.7665, allocations: 0.5919 MB / 0.7612 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.7666, allocations: 12.03 kB / 0.7612 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003566/0.7669, allocations: 59.58 kB / 0.7613 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.7673, allocations: 306.1 kB / 0.7616 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.7674, allocations: 16.44 kB / 0.7616 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.7674, allocations: 24 kB / 0.7616 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.7679, allocations: 308.5 kB / 0.7619 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.7679, allocations: 7.938 kB / 0.7619 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.768, allocations: 12 kB / 0.7619 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.768, allocations: 8 kB / 0.7619 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000386/0.7684, allocations: 175.8 kB / 0.7621 GB, free: 10.11 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.001838/0.7702, allocations: 1.716 MB / 0.7638 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.7705, allocations: 90.56 kB / 0.7638 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.7707, allocations: 92.78 kB / 0.7639 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003678/0.7711, allocations: 190.1 kB / 0.7641 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.7712, allocations: 38.55 kB / 0.7642 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 6.021e-06/0.7712, allocations: 4 kB / 0.7642 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0007458/0.7719, allocations: 237.1 kB / 0.7644 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.772, allocations: 55.41 kB / 0.7644 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003803/0.7724, allocations: 320.5 kB / 0.7647 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.7724, allocations: 25.7 kB / 0.7648 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/0.7726, allocations: 191.8 kB / 0.7649 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.7726, allocations: 43.45 kB / 0.765 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.057e-05/0.7727, allocations: 21.7 kB / 0.765 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.7729, allocations: 338.8 kB / 0.7653 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.773, allocations: 63.95 kB / 0.7654 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.7734, allocations: 203.4 kB / 0.7656 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000443/0.7738, allocations: 241.5 kB / 0.7658 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.7738, allocations: 0 / 0.7658 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005278/0.7744, allocations: 269.2 kB / 0.7661 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.000175/0.7745, allocations: 197.8 kB / 0.7663 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.7746, allocations: 4.938 kB / 0.7663 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.7746, allocations: 8 kB / 0.7663 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.7748, allocations: 51.92 kB / 0.7663 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.7748, allocations: 7.984 kB / 0.7663 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.7751, allocations: 47.61 kB / 0.7664 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.7752, allocations: 12 kB / 0.7664 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.7752, allocations: 0 / 0.7664 GB, free: 5.309 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004448/0.7756, allocations: 212.1 kB / 0.7666 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.7756, allocations: 7.969 kB / 0.7666 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.384e-06/0.7757, allocations: 8 kB / 0.7666 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.7759, allocations: 47.92 kB / 0.7667 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.7759, allocations: 7.984 kB / 0.7667 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/0.7761, allocations: 35.88 kB / 0.7667 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/0.7762, allocations: 17.23 kB / 0.7667 GB, free: 4.98 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.0002384/0.7764, allocations: 237 kB / 0.7669 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.978e-05/0.7765, allocations: 31.56 kB / 0.767 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004488/0.777, allocations: 179.4 kB / 0.7671 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.777, allocations: 11.98 kB / 0.7671 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.777, allocations: 0 / 0.7671 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.777, allocations: 0 / 0.7671 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.778, allocations: 0.6094 MB / 0.7677 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.7781, allocations: 4 kB / 0.7677 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001249/0.7782, allocations: 31.92 kB / 0.7678 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.646e-06/0.7782, allocations: 8.219 kB / 0.7678 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.7782, allocations: 4.875 kB / 0.7678 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.7782, allocations: 3.984 kB / 0.7678 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7783, allocations: 4 kB / 0.7678 GB, free: 3.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004638/0.7787, allocations: 310.6 kB / 0.7681 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.7789, allocations: 116.8 kB / 0.7682 GB, free: 3.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.496e-05/0.7789, allocations: 11.98 kB / 0.7682 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.7791, allocations: 21.95 kB / 0.7682 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.718e-05/0.7792, allocations: 23.86 kB / 0.7683 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.7792, allocations: 4 kB / 0.7683 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002635/0.7795, allocations: 223.1 kB / 0.7685 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7795, allocations: 4 kB / 0.7685 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006684/0.7802, allocations: 131.8 kB / 0.7686 GB, free: 2.891 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.0004345/0.7806, allocations: 166.7 kB / 0.7688 GB, free: 2.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006358/0.7813, allocations: 256.6 kB / 0.769 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.7813, allocations: 1 kB / 0.769 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.7814, allocations: 76.05 kB / 0.7691 GB, free: 2.406 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009988/0.7825, allocations: 132.6 kB / 0.7692 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.7836, allocations: 0.6069 MB / 0.7698 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/0.784, allocations: 0.7758 MB / 0.7706 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003213/0.7843, allocations: 82.89 kB / 0.7706 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.441e-05/0.7844, allocations: 27.44 kB / 0.7707 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of SimCode: time 1.463e-06/0.7844, allocations: 4 kB / 0.7707 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of Templates: time 0.01077/0.7952, allocations: 4.72 MB / 0.7753 GB, free: 12.09 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)