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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, 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.00172/0.001719, allocations: 196.7 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.764/0.764, allocations: 132.2 MB / 422.6 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 61.81 kB / 0.5019 GB, free: 8.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1379, allocations: 80.21 MB / 0.5802 GB, free: 8.754 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.4103/0.5482, allocations: 169.5 MB / 0.7457 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008616/0.5569, allocations: 7.311 MB / 0.7528 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005442/0.5574, allocations: 11.69 kB / 0.7528 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007718/0.5582, allocations: 211.3 kB / 0.753 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001587/0.5599, allocations: 0.5704 MB / 0.7536 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.5612, allocations: 436.9 kB / 0.754 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009687/0.5622, allocations: 0.7036 MB / 0.7547 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004582/0.5626, allocations: 269.5 kB / 0.7549 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008222/0.5635, allocations: 380.5 kB / 0.7553 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003563/0.5638, allocations: 214.4 kB / 0.7555 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.169e-05/0.5639, allocations: 18.88 kB / 0.7555 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.5651, allocations: 0.7012 MB / 0.7562 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.5652, allocations: 108.3 kB / 0.7563 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001894/0.5654, allocations: 159.4 kB / 0.7565 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008824/0.5663, allocations: 0.5732 MB / 0.757 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5663, allocations: 0 / 0.757 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.323e-06/0.5664, allocations: 4 kB / 0.757 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.498e-06/0.5664, allocations: 0 / 0.757 GB, free: 13.84 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.00106/0.5674, allocations: 0.6426 MB / 0.7577 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.5675, allocations: 12.03 kB / 0.7577 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.023e-05/0.5676, allocations: 54.55 kB / 0.7577 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004114/0.568, allocations: 59.59 kB / 0.7578 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.5684, allocations: 318 kB / 0.7581 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.5684, allocations: 16.44 kB / 0.7581 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.735e-05/0.5685, allocations: 24 kB / 0.7581 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004841/0.569, allocations: 301.1 kB / 0.7584 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.569, allocations: 0 / 0.7584 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.5691, allocations: 11.98 kB / 0.7584 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/0.5691, allocations: 8 kB / 0.7584 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003975/0.5695, allocations: 179.6 kB / 0.7586 GB, free: 12.1 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.001805/0.5713, allocations: 1.695 MB / 0.7603 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.5716, allocations: 90.5 kB / 0.7603 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.5718, allocations: 76.86 kB / 0.7604 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00028/0.572, allocations: 190.2 kB / 0.7606 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.5721, allocations: 42.5 kB / 0.7606 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.5721, allocations: 0 / 0.7606 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0007027/0.5728, allocations: 225 kB / 0.7608 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.5728, allocations: 55.41 kB / 0.7609 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.5732, allocations: 320.5 kB / 0.7612 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.5732, allocations: 33.7 kB / 0.7612 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000141/0.5734, allocations: 195.7 kB / 0.7614 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.259e-05/0.5734, allocations: 35.53 kB / 0.7615 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.68e-05/0.5735, allocations: 53.61 kB / 0.7615 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5736, allocations: 338.8 kB / 0.7618 GB, free: 8.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.5738, allocations: 60.81 kB / 0.7619 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.5741, allocations: 198.9 kB / 0.7621 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.5744, allocations: 229.5 kB / 0.7623 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5744, allocations: 0 / 0.7623 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004767/0.5749, allocations: 261 kB / 0.7625 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.575, allocations: 8 kB / 0.7626 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.575, allocations: 4 kB / 0.7626 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.575, allocations: 4 kB / 0.7626 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.5752, allocations: 47.91 kB / 0.7626 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.5752, allocations: 4 kB / 0.7626 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002499/0.5754, allocations: 35.77 kB / 0.7626 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.5755, allocations: 16 kB / 0.7627 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002338/0.5757, allocations: 173.8 kB / 0.7628 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002418/0.576, allocations: 194.1 kB / 0.763 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003464/0.5763, allocations: 233.6 kB / 0.7632 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.5763, allocations: 3.938 kB / 0.7632 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004678/0.5768, allocations: 257 kB / 0.7635 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.5768, allocations: 11.98 kB / 0.7635 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5769, allocations: 4 kB / 0.7635 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.092e-06/0.5769, allocations: 4 kB / 0.7635 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.5771, allocations: 43.92 kB / 0.7635 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5771, allocations: 11.8 kB / 0.7636 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.5773, allocations: 27.83 kB / 0.7636 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.5773, allocations: 12 kB / 0.7636 GB, free: 6.531 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.0001049/0.5775, allocations: 200.3 kB / 0.7638 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.5775, allocations: 31.62 kB / 0.7638 GB, free: 6.297 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.5779, allocations: 164.4 kB / 0.764 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5779, allocations: 3.938 kB / 0.764 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5779, allocations: 0 / 0.764 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-06/0.5779, allocations: 0 / 0.764 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00087/0.5788, allocations: 0.6093 MB / 0.7646 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.5788, allocations: 8.156 kB / 0.7646 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.579, allocations: 27.92 kB / 0.7646 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.579, allocations: 4 kB / 0.7646 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.579, allocations: 4 kB / 0.7646 GB, free: 5.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.579, allocations: 3.938 kB / 0.7646 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.579, allocations: 4 kB / 0.7646 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.5794, allocations: 301 kB / 0.7649 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.712e-05/0.5795, allocations: 108.8 kB / 0.765 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.5795, allocations: 4 kB / 0.765 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.5797, allocations: 23.92 kB / 0.765 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.5798, allocations: 7.984 kB / 0.765 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.5798, allocations: 4.188 kB / 0.765 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002113/0.58, allocations: 227 kB / 0.7653 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.58, allocations: 0 / 0.7653 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005656/0.5806, allocations: 139.8 kB / 0.7654 GB, free: 4.531 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.0008927/0.5815, allocations: 0.8955 MB / 0.7663 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005743/0.5821, allocations: 252.5 kB / 0.7665 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5821, allocations: 0 / 0.7665 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.5823, allocations: 63.89 kB / 0.7666 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007986/0.5831, allocations: 126 kB / 0.7667 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.5863, allocations: 2.82 MB / 0.7695 GB, free: 156 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.5866, allocations: 0.7756 MB / 0.7702 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002869/0.5869, allocations: 87.59 kB / 0.7703 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.5871, allocations: 91.41 kB / 0.7704 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.5871, allocations: 0 / 0.7704 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3698/0.9569, allocations: 7.803 MB / 0.778 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.669, allocations: 13.3 kB / 0.778 GB, free: 7.539 MB / 0.5919 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)