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.001428/0.001428, 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.00117/0.00117, allocations: 194.5 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7931/0.7931, allocations: 132.2 MB / 422.6 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 68.61 kB / 0.5019 GB, free: 8.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1711, allocations: 80.2 MB / 0.5802 GB, free: 8.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.5259/0.6971, allocations: 169.4 MB / 0.7457 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009749/0.7069, allocations: 7.307 MB / 0.7528 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007086/0.7076, allocations: 11.22 kB / 0.7528 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008288/0.7085, allocations: 213.1 kB / 0.753 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.7102, allocations: 0.5798 MB / 0.7536 GB, free: 52 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/0.7117, allocations: 425.2 kB / 0.754 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.7127, allocations: 0.7099 MB / 0.7547 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004416/0.7132, allocations: 263.2 kB / 0.7549 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007499/0.7139, allocations: 381.6 kB / 0.7553 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.7142, allocations: 215.4 kB / 0.7555 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.37e-05/0.7143, allocations: 21.47 kB / 0.7555 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.7156, allocations: 0.7041 MB / 0.7562 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001362/0.7158, allocations: 108.5 kB / 0.7563 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.7159, allocations: 157.2 kB / 0.7565 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009328/0.7169, allocations: 0.5715 MB / 0.757 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7169, allocations: 0 / 0.757 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7169, allocations: 0 / 0.757 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.7169, allocations: 0 / 0.757 GB, free: 13.71 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.0009891/0.7179, allocations: 0.6451 MB / 0.7577 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.718, allocations: 12.03 kB / 0.7577 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.941e-05/0.718, allocations: 54.55 kB / 0.7577 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003636/0.7184, allocations: 67.58 kB / 0.7578 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.7188, allocations: 302.1 kB / 0.7581 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.7189, allocations: 20.38 kB / 0.7581 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.7189, allocations: 20 kB / 0.7581 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000502/0.7194, allocations: 308.5 kB / 0.7584 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.7194, allocations: 3.125 kB / 0.7584 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.7195, allocations: 12 kB / 0.7584 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.7195, allocations: 4 kB / 0.7584 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003733/0.7198, allocations: 183.7 kB / 0.7586 GB, free: 11.97 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.001711/0.7216, allocations: 1.695 MB / 0.7603 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.7218, allocations: 98.53 kB / 0.7603 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/0.722, allocations: 78.12 kB / 0.7604 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/0.7223, allocations: 190.1 kB / 0.7606 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.7224, allocations: 34.55 kB / 0.7606 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.7224, allocations: 0 / 0.7606 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.0007121/0.7231, allocations: 225.1 kB / 0.7609 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.7231, allocations: 55.41 kB / 0.7609 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000366/0.7235, allocations: 320.5 kB / 0.7612 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.7236, allocations: 25.7 kB / 0.7612 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/0.7237, allocations: 199.8 kB / 0.7614 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.7238, allocations: 35.45 kB / 0.7615 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.096e-05/0.7238, allocations: 49.7 kB / 0.7615 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.724, allocations: 342.8 kB / 0.7618 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.7242, allocations: 56.81 kB / 0.7619 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.7245, allocations: 198.8 kB / 0.7621 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004153/0.7249, allocations: 237.4 kB / 0.7623 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7249, allocations: 0 / 0.7623 GB, free: 7.848 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005143/0.7254, allocations: 252.8 kB / 0.7625 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.7255, allocations: 11.98 kB / 0.7626 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.7255, allocations: 4 kB / 0.7626 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.7255, allocations: 4 kB / 0.7626 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.7257, allocations: 43.92 kB / 0.7626 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.7257, allocations: 8.391 kB / 0.7626 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.726, allocations: 43.67 kB / 0.7627 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.726, allocations: 10.34 kB / 0.7627 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000259/0.7263, allocations: 173.6 kB / 0.7628 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002676/0.7265, allocations: 195.3 kB / 0.763 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003767/0.7269, allocations: 229.6 kB / 0.7632 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.7269, allocations: 0 / 0.7632 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004795/0.7274, allocations: 256.9 kB / 0.7635 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.7274, allocations: 8 kB / 0.7635 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.7275, allocations: 0 / 0.7635 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.7275, allocations: 11.94 kB / 0.7635 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.7276, allocations: 47.91 kB / 0.7635 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.7277, allocations: 11.94 kB / 0.7636 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002451/0.7279, allocations: 36.22 kB / 0.7636 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.7279, allocations: 12 kB / 0.7636 GB, free: 6.395 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.0001523/0.7281, allocations: 196.1 kB / 0.7638 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/0.7282, allocations: 38.8 kB / 0.7638 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004029/0.7286, allocations: 164.9 kB / 0.764 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.7286, allocations: 0 / 0.764 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.7286, allocations: 4 kB / 0.764 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7286, allocations: 0 / 0.764 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009847/0.7296, allocations: 0.6015 MB / 0.7646 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.7296, allocations: 0 / 0.7646 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.7297, allocations: 35.91 kB / 0.7646 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.7298, allocations: 4 kB / 0.7646 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.7298, allocations: 4 kB / 0.7646 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.7298, allocations: 7.875 kB / 0.7646 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.7298, allocations: 4 kB / 0.7646 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.7302, allocations: 300.9 kB / 0.7649 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.7303, allocations: 116.8 kB / 0.765 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.7304, allocations: 4 kB / 0.765 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.7306, allocations: 15.92 kB / 0.765 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.7306, allocations: 8 kB / 0.7651 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.7306, allocations: 4 kB / 0.7651 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002236/0.7309, allocations: 227 kB / 0.7653 GB, free: 4.539 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.593e-06/0.7309, allocations: 4 kB / 0.7653 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006096/0.7315, allocations: 143.7 kB / 0.7654 GB, free: 4.395 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.001085/0.7326, allocations: 0.8994 MB / 0.7663 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000652/0.7333, allocations: 247.8 kB / 0.7665 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7333, allocations: 0 / 0.7665 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.7334, allocations: 61.59 kB / 0.7666 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008435/0.7343, allocations: 133 kB / 0.7667 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003634/0.7379, allocations: 2.819 MB / 0.7695 GB, free: 12 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.7383, allocations: 0.7717 MB / 0.7702 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003153/0.7387, allocations: 87.53 kB / 0.7703 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.7388, allocations: 87.41 kB / 0.7704 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of SimCode: time 6.22e-07/0.7388, allocations: 0 / 0.7704 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03347/0.7723, allocations: 7.799 MB / 0.778 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.665/8.438, allocations: 8 kB / 0.778 GB, free: 7.41 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 & 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)