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.001241/0.001241, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001303/0.001303, allocations: 193 kB / 16.25 MB, free: 6.637 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.361/1.361, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9514/0.9514, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001834, allocations: 64.58 kB / 0.5054 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1682, allocations: 81.03 MB / 0.5845 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.4564/0.6247, allocations: 167.2 MB / 0.7477 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008969/0.6337, allocations: 7.264 MB / 0.7548 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007394/0.6345, allocations: 12.69 kB / 0.7549 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007873/0.6354, allocations: 177.7 kB / 0.755 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001669/0.637, allocations: 0.5383 MB / 0.7555 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.6383, allocations: 393.8 kB / 0.7559 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008397/0.6392, allocations: 0.7021 MB / 0.7566 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/0.6396, allocations: 264.8 kB / 0.7569 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006797/0.6403, allocations: 378.5 kB / 0.7572 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.6406, allocations: 235 kB / 0.7574 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.6406, allocations: 20 kB / 0.7575 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.6418, allocations: 0.7092 MB / 0.7582 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.6419, allocations: 107.7 kB / 0.7583 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.6421, allocations: 167.1 kB / 0.7584 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000821/0.6429, allocations: 0.6037 MB / 0.759 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.6429, allocations: 0 / 0.759 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6429, allocations: 0 / 0.759 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.351e-06/0.6429, allocations: 0 / 0.759 GB, free: 9.801 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.0009312/0.6439, allocations: 0.6424 MB / 0.7596 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.6439, allocations: 8.031 kB / 0.7596 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003342/0.6443, allocations: 67.48 kB / 0.7597 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.6447, allocations: 306.1 kB / 0.76 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.403e-05/0.6447, allocations: 20.44 kB / 0.76 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.6447, allocations: 20 kB / 0.76 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.6453, allocations: 300.6 kB / 0.7603 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.6453, allocations: 7.938 kB / 0.7603 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.6453, allocations: 12 kB / 0.7603 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.6453, allocations: 4 kB / 0.7603 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003881/0.6457, allocations: 179.7 kB / 0.7605 GB, free: 8.129 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.001691/0.6474, allocations: 1.693 MB / 0.7622 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.6477, allocations: 87.22 kB / 0.7623 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.6479, allocations: 80.8 kB / 0.7623 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002786/0.6481, allocations: 186.2 kB / 0.7625 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.763e-05/0.6482, allocations: 34.5 kB / 0.7625 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.6482, allocations: 7.938 kB / 0.7626 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0006555/0.6489, allocations: 223.3 kB / 0.7628 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.6489, allocations: 51.41 kB / 0.7628 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/0.6492, allocations: 320.5 kB / 0.7631 GB, free: 5.273 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.6493, allocations: 29.7 kB / 0.7631 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.6494, allocations: 207.7 kB / 0.7633 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.6495, allocations: 35.55 kB / 0.7634 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.99e-05/0.6496, allocations: 53.61 kB / 0.7634 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.6497, allocations: 334.8 kB / 0.7637 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.6499, allocations: 62.44 kB / 0.7638 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/0.6502, allocations: 195.7 kB / 0.764 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.6505, allocations: 229.5 kB / 0.7642 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.543e-06/0.6506, allocations: 4 kB / 0.7642 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00047/0.651, allocations: 268.8 kB / 0.7645 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.6511, allocations: 4 kB / 0.7645 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.6511, allocations: 7.781 kB / 0.7645 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.6511, allocations: 8 kB / 0.7645 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.6513, allocations: 51.84 kB / 0.7645 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.6513, allocations: 8 kB / 0.7645 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.6515, allocations: 39.75 kB / 0.7646 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.6516, allocations: 8 kB / 0.7646 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002344/0.6518, allocations: 175.9 kB / 0.7648 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00025/0.6521, allocations: 193.1 kB / 0.7649 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003493/0.6524, allocations: 229.5 kB / 0.7652 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.493e-06/0.6524, allocations: 4 kB / 0.7652 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004469/0.6529, allocations: 256.8 kB / 0.7654 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.6529, allocations: 4.406 kB / 0.7654 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.545e-06/0.6529, allocations: 8 kB / 0.7654 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.492e-06/0.6529, allocations: 8 kB / 0.7654 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.6531, allocations: 47.91 kB / 0.7655 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.6531, allocations: 8 kB / 0.7655 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.6534, allocations: 27.83 kB / 0.7655 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.6534, allocations: 12 kB / 0.7655 GB, free: 2.547 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.0001281/0.6535, allocations: 201.7 kB / 0.7657 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.249e-05/0.6536, allocations: 35.55 kB / 0.7658 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.654, allocations: 168.3 kB / 0.7659 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.654, allocations: 0 / 0.7659 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.654, allocations: 4 kB / 0.7659 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.654, allocations: 0 / 0.7659 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008979/0.6549, allocations: 0.6017 MB / 0.7665 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.6549, allocations: 4 kB / 0.7665 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.655, allocations: 40.12 kB / 0.7665 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.655, allocations: 4.031 kB / 0.7665 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.6551, allocations: 4 kB / 0.7666 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-06/0.6551, allocations: 4 kB / 0.7666 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6551, allocations: 4.562 kB / 0.7666 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.6555, allocations: 302.9 kB / 0.7669 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.6556, allocations: 116.8 kB / 0.767 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.6556, allocations: 4 kB / 0.767 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.6558, allocations: 15.98 kB / 0.767 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/0.6559, allocations: 15.92 kB / 0.767 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.6559, allocations: 4 kB / 0.767 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002265/0.6561, allocations: 227 kB / 0.7672 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.6561, allocations: 0 / 0.7672 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005368/0.6567, allocations: 135.8 kB / 0.7673 GB, free: 0.5352 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.0004131/0.6571, allocations: 173.5 kB / 0.7675 GB, free: 380 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000568/0.6577, allocations: 249 kB / 0.7677 GB, free: 132 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6577, allocations: 4 kB / 0.7678 GB, free: 128 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.6578, allocations: 59.89 kB / 0.7678 GB, free: 68 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007878/0.6586, allocations: 121.8 kB / 0.7679 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008448/0.6595, allocations: 0.5944 MB / 0.7685 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/0.6599, allocations: 0.7834 MB / 0.7693 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002564/0.6602, allocations: 78.89 kB / 0.7693 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.528e-05/0.6602, allocations: 27.44 kB / 0.7694 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of SimCode: time 2e-07/0.6602, allocations: 0 / 0.7694 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.009589/0.6698, allocations: 4.792 MB / 0.7741 GB, free: 9.719 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)