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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Pressure,fileNamePrefix="IDEAS_dev_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.001539/0.001539, allocations: 108 kB / 15.6 MB, free: 132 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.001997/0.001997, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.383/1.383, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9664/0.9664, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 59.38 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1772, allocations: 80.93 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.4784/0.6555, allocations: 169.4 MB / 0.7499 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009557/0.6651, allocations: 7.319 MB / 0.7571 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009126/0.6661, allocations: 12.28 kB / 0.7571 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008744/0.667, allocations: 222.2 kB / 0.7573 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.6691, allocations: 0.5654 MB / 0.7579 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.6703, allocations: 428.8 kB / 0.7583 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008869/0.6712, allocations: 0.7064 MB / 0.7589 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.6717, allocations: 268.5 kB / 0.7592 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007628/0.6725, allocations: 386.5 kB / 0.7596 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000278/0.6728, allocations: 207.1 kB / 0.7598 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.418e-05/0.6728, allocations: 20 kB / 0.7598 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.674, allocations: 0.7054 MB / 0.7605 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.6741, allocations: 107.7 kB / 0.7606 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.6743, allocations: 151.2 kB / 0.7607 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007925/0.6751, allocations: 0.5686 MB / 0.7613 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.6751, allocations: 7.984 kB / 0.7613 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6751, allocations: 0 / 0.7613 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.6751, allocations: 0 / 0.7613 GB, free: 7.816 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.0009272/0.676, allocations: 0.6426 MB / 0.7619 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.6761, allocations: 12.03 kB / 0.7619 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.377e-05/0.6762, allocations: 62.53 kB / 0.762 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003519/0.6765, allocations: 63.44 kB / 0.762 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.6769, allocations: 314.1 kB / 0.7623 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.6769, allocations: 13.25 kB / 0.7624 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.677, allocations: 24 kB / 0.7624 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.6775, allocations: 300.6 kB / 0.7627 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.6775, allocations: 0 / 0.7627 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/0.6776, allocations: 12 kB / 0.7627 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.6776, allocations: 8 kB / 0.7627 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00039/0.678, allocations: 175.7 kB / 0.7629 GB, free: 6.078 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.001623/0.6796, allocations: 1.7 MB / 0.7645 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.6799, allocations: 94.5 kB / 0.7646 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.68, allocations: 72.86 kB / 0.7647 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/0.6803, allocations: 202.1 kB / 0.7649 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.6804, allocations: 37.75 kB / 0.7649 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.6804, allocations: 0 / 0.7649 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0006755/0.681, allocations: 221.8 kB / 0.7651 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.6811, allocations: 55.41 kB / 0.7652 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.6814, allocations: 316.5 kB / 0.7655 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.6814, allocations: 29.7 kB / 0.7655 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.6816, allocations: 199.7 kB / 0.7657 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.6816, allocations: 39.55 kB / 0.7657 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.217e-05/0.6817, allocations: 45.62 kB / 0.7658 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.6819, allocations: 338.8 kB / 0.7661 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.682, allocations: 72.75 kB / 0.7662 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.6823, allocations: 187.8 kB / 0.7663 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003642/0.6827, allocations: 233.4 kB / 0.7666 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6827, allocations: 3.938 kB / 0.7666 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004662/0.6831, allocations: 261.1 kB / 0.7668 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.6832, allocations: 8 kB / 0.7668 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.6832, allocations: 4 kB / 0.7668 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.6832, allocations: 7.984 kB / 0.7668 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.6834, allocations: 47.91 kB / 0.7669 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.6834, allocations: 4 kB / 0.7669 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.6836, allocations: 35.77 kB / 0.7669 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.6837, allocations: 12.25 kB / 0.7669 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002311/0.6839, allocations: 172.1 kB / 0.7671 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002386/0.6842, allocations: 199.2 kB / 0.7673 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003431/0.6845, allocations: 225.5 kB / 0.7675 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.759e-06/0.6845, allocations: 0 / 0.7675 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004484/0.685, allocations: 257 kB / 0.7677 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.685, allocations: 8 kB / 0.7678 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.685, allocations: 4 kB / 0.7678 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.491e-06/0.685, allocations: 7.938 kB / 0.7678 GB, free: 0.5938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.6852, allocations: 51.91 kB / 0.7678 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.6852, allocations: 4 kB / 0.7678 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002273/0.6854, allocations: 27.81 kB / 0.7678 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.6855, allocations: 16.22 kB / 0.7679 GB, free: 0.4961 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.0001099/0.6856, allocations: 197.5 kB / 0.768 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.6857, allocations: 31.72 kB / 0.7681 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.6861, allocations: 172.4 kB / 0.7682 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.6861, allocations: 0 / 0.7682 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6861, allocations: 0 / 0.7682 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6861, allocations: 0 / 0.7682 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009265/0.687, allocations: 0.6131 MB / 0.7688 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.687, allocations: 10.22 kB / 0.7689 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.6872, allocations: 23.92 kB / 0.7689 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.6872, allocations: 4 kB / 0.7689 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.6872, allocations: 8.188 kB / 0.7689 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.6872, allocations: 3.938 kB / 0.7689 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/0.6872, allocations: 4 kB / 0.7689 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003849/0.6876, allocations: 305 kB / 0.7692 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.6877, allocations: 108.8 kB / 0.7693 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.6878, allocations: 8 kB / 0.7693 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001811/0.688, allocations: 19.92 kB / 0.7693 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.688, allocations: 11.98 kB / 0.7693 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.688, allocations: 4 kB / 0.7693 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002128/0.6882, allocations: 227 kB / 0.7695 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6883, allocations: 3.938 kB / 0.7696 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005559/0.6888, allocations: 131.8 kB / 0.7697 GB, free: 14.49 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.0009442/0.6898, allocations: 0.8972 MB / 0.7706 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006129/0.6904, allocations: 256.3 kB / 0.7708 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6904, allocations: 4 kB / 0.7708 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.6906, allocations: 59.89 kB / 0.7709 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007888/0.6914, allocations: 119.4 kB / 0.771 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.6947, allocations: 2.813 MB / 0.7737 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.6951, allocations: 0.7756 MB / 0.7745 GB, free: 9.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002808/0.6954, allocations: 83.61 kB / 0.7746 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.6956, allocations: 87.41 kB / 0.7746 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.6956, allocations: 0 / 0.7746 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02724/0.7228, allocations: 7.817 MB / 0.7823 GB, free: 1.504 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/8.347, allocations: 15.2 kB / 0.7823 GB, free: 1.496 MB / 0.5919 GB (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Pressure.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)