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.005571/0.005571, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.001266/0.001267, allocations: 195.1 kB / 16.67 MB, free: 5.973 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.28/1.28, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7631/0.7631, allocations: 132.2 MB / 422.7 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 64.3 kB / 0.5809 GB, free: 23.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1655, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.5554/0.721, allocations: 169.4 MB / 0.8247 GB, free: 4.355 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008731/0.7298, allocations: 7.323 MB / 0.8318 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006746/0.7305, allocations: 11.19 kB / 0.8318 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007748/0.7313, allocations: 223.2 kB / 0.832 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001828/0.7332, allocations: 0.5972 MB / 0.8326 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.7346, allocations: 427.5 kB / 0.833 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.7358, allocations: 0.7076 MB / 0.8337 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004575/0.7363, allocations: 282.7 kB / 0.834 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008062/0.7371, allocations: 379.2 kB / 0.8344 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.7374, allocations: 217.9 kB / 0.8346 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.033e-05/0.7374, allocations: 17.53 kB / 0.8346 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.7388, allocations: 0.7032 MB / 0.8353 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.739, allocations: 111 kB / 0.8354 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.7392, allocations: 160.1 kB / 0.8355 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009883/0.7402, allocations: 0.5874 MB / 0.8361 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7402, allocations: 0 / 0.8361 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7402, allocations: 0 / 0.8361 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.323e-05/0.7402, allocations: 0 / 0.8361 GB, free: 11.64 MB / 0.6075 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.001001/0.7412, allocations: 0.6497 MB / 0.8367 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.7413, allocations: 10.22 kB / 0.8368 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.804e-05/0.7414, allocations: 53.89 kB / 0.8368 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003723/0.7417, allocations: 71.92 kB / 0.8369 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005383/0.7423, allocations: 329.8 kB / 0.8372 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.219e-05/0.7423, allocations: 18.69 kB / 0.8372 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.7424, allocations: 23.16 kB / 0.8372 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004951/0.7429, allocations: 305.2 kB / 0.8375 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.7429, allocations: 4 kB / 0.8375 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.388e-05/0.7429, allocations: 8.75 kB / 0.8375 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.7429, allocations: 5.094 kB / 0.8375 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.7433, allocations: 180.2 kB / 0.8377 GB, free: 10.3 MB / 0.6075 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.001707/0.745, allocations: 1.698 MB / 0.8394 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.7453, allocations: 88.59 kB / 0.8394 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.7455, allocations: 81.78 kB / 0.8395 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002847/0.7458, allocations: 185 kB / 0.8397 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.7458, allocations: 40.64 kB / 0.8397 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.313e-06/0.7458, allocations: 0 / 0.8397 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0006904/0.7465, allocations: 226.7 kB / 0.84 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/0.7466, allocations: 53.19 kB / 0.84 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003207/0.7469, allocations: 319.4 kB / 0.8403 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.747, allocations: 29.7 kB / 0.8403 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.7471, allocations: 201.5 kB / 0.8405 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.7472, allocations: 39.34 kB / 0.8406 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-05/0.7473, allocations: 51.28 kB / 0.8406 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.7474, allocations: 342.3 kB / 0.8409 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.7476, allocations: 58.72 kB / 0.841 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.7478, allocations: 195.1 kB / 0.8412 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004172/0.7482, allocations: 234.6 kB / 0.8414 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.7483, allocations: 7.125 kB / 0.8414 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006525/0.7489, allocations: 257.1 kB / 0.8417 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.749, allocations: 7.438 kB / 0.8417 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.749, allocations: 8.609 kB / 0.8417 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.749, allocations: 2.844 kB / 0.8417 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.7492, allocations: 43.17 kB / 0.8417 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.7492, allocations: 7.375 kB / 0.8417 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.7495, allocations: 44.88 kB / 0.8418 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.183e-05/0.7495, allocations: 16.34 kB / 0.8418 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002214/0.7497, allocations: 171.4 kB / 0.842 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002415/0.75, allocations: 196.1 kB / 0.8421 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003382/0.7503, allocations: 227.7 kB / 0.8424 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.7503, allocations: 2.75 kB / 0.8424 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004387/0.7508, allocations: 257.5 kB / 0.8426 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.7508, allocations: 9.469 kB / 0.8426 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.7508, allocations: 5.281 kB / 0.8426 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-06/0.7508, allocations: 2.688 kB / 0.8426 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.751, allocations: 51.12 kB / 0.8427 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.751, allocations: 4.719 kB / 0.8427 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.7512, allocations: 31.16 kB / 0.8427 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.7512, allocations: 9.562 kB / 0.8427 GB, free: 5.984 MB / 0.6075 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.0001298/0.7514, allocations: 202.1 kB / 0.8429 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.7514, allocations: 28.16 kB / 0.8429 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003689/0.7518, allocations: 173.6 kB / 0.8431 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.7518, allocations: 2.906 kB / 0.8431 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.7518, allocations: 0 / 0.8431 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7518, allocations: 7.938 kB / 0.8431 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000941/0.7528, allocations: 0.6039 MB / 0.8437 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.7528, allocations: 2.875 kB / 0.8437 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.7529, allocations: 23.67 kB / 0.8437 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.7529, allocations: 10.55 kB / 0.8437 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.753, allocations: 3.969 kB / 0.8437 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.314e-06/0.753, allocations: 10.31 kB / 0.8437 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.753, allocations: 2.406 kB / 0.8437 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.7534, allocations: 298.5 kB / 0.844 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.7535, allocations: 121.4 kB / 0.8441 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.343e-05/0.7536, allocations: 6.797 kB / 0.8442 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.7537, allocations: 18.77 kB / 0.8442 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.7538, allocations: 5.688 kB / 0.8442 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.7538, allocations: 4.969 kB / 0.8442 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002125/0.754, allocations: 227.2 kB / 0.8444 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.663e-06/0.754, allocations: 0 / 0.8444 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005864/0.7546, allocations: 146.1 kB / 0.8445 GB, free: 4.52 MB / 0.6075 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.0009759/0.7556, allocations: 0.8997 MB / 0.8454 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005663/0.7562, allocations: 242.2 kB / 0.8456 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7562, allocations: 0 / 0.8456 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.7564, allocations: 68.3 kB / 0.8457 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007513/0.7571, allocations: 125.9 kB / 0.8458 GB, free: 3.508 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003312/0.7604, allocations: 2.811 MB / 0.8486 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.7608, allocations: 0.7747 MB / 0.8493 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002583/0.7611, allocations: 82.39 kB / 0.8494 GB, free: 472 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.7612, allocations: 88.97 kB / 0.8495 GB, free: 400 kB / 0.6075 GB Notification: Performance of SimCode: time 7.01e-07/0.7612, allocations: 0 / 0.8495 GB, free: 400 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02617/0.7874, allocations: 7.91 MB / 0.8572 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.892/8.679, allocations: 11.16 kB / 0.8572 GB, free: 10.64 MB / 0.6231 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sensors_Examples_Pressure.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1)