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.005739/0.005745, allocations: 99.67 kB / 15.73 MB, free: 6.008 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.001562/0.001562, allocations: 195.2 kB / 16.68 MB, free: 5.93 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8249/0.8249, allocations: 135.6 MB / 426.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 72.56 kB / 0.5857 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1525, allocations: 81.04 MB / 0.6649 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.5365/0.689, allocations: 169.4 MB / 0.8304 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009522/0.6986, allocations: 7.331 MB / 0.8375 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006193/0.6992, allocations: 11.34 kB / 0.8375 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007531/0.7, allocations: 210.7 kB / 0.8377 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.7017, allocations: 0.5688 MB / 0.8383 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.703, allocations: 436.4 kB / 0.8387 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001017/0.704, allocations: 0.702 MB / 0.8394 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000456/0.7045, allocations: 270.3 kB / 0.8396 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007405/0.7052, allocations: 388.8 kB / 0.84 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.7055, allocations: 209.8 kB / 0.8402 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.962e-05/0.7056, allocations: 17.62 kB / 0.8402 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.7069, allocations: 0.7074 MB / 0.8409 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.707, allocations: 106.6 kB / 0.841 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.7072, allocations: 159.2 kB / 0.8412 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009989/0.7082, allocations: 0.5833 MB / 0.8417 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7083, allocations: 3.938 kB / 0.8417 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7083, allocations: 4 kB / 0.8417 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.7083, allocations: 0 / 0.8417 GB, free: 5.074 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.0009322/0.7092, allocations: 0.6496 MB / 0.8424 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.7093, allocations: 10.55 kB / 0.8424 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.908e-05/0.7093, allocations: 54.3 kB / 0.8424 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003381/0.7097, allocations: 68.75 kB / 0.8425 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005456/0.7102, allocations: 325.4 kB / 0.8428 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.7103, allocations: 17.97 kB / 0.8428 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.7103, allocations: 24.94 kB / 0.8429 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.7108, allocations: 306.1 kB / 0.8432 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.7108, allocations: 2.719 kB / 0.8432 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.7109, allocations: 6.75 kB / 0.8432 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.7109, allocations: 9.031 kB / 0.8432 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003677/0.7112, allocations: 177.2 kB / 0.8433 GB, free: 3.75 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.00179/0.713, allocations: 1.698 MB / 0.845 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.7133, allocations: 89 kB / 0.8451 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.7135, allocations: 85.14 kB / 0.8452 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003117/0.7138, allocations: 186.6 kB / 0.8453 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.7138, allocations: 37.19 kB / 0.8454 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=11): time 1.834e-06/0.7138, allocations: 0 / 0.8454 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.0007271/0.7146, allocations: 220.9 kB / 0.8456 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.7146, allocations: 58.28 kB / 0.8456 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.715, allocations: 322.8 kB / 0.846 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.715, allocations: 29.7 kB / 0.846 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001706/0.7152, allocations: 201.1 kB / 0.8462 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.7153, allocations: 37.25 kB / 0.8462 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.692e-05/0.7154, allocations: 49.17 kB / 0.8463 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.7155, allocations: 342.6 kB / 0.8466 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.7157, allocations: 63.41 kB / 0.8466 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.716, allocations: 193.1 kB / 0.8468 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/0.7164, allocations: 230.1 kB / 0.847 GB, free: 344 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.7164, allocations: 6.344 kB / 0.8471 GB, free: 340 kB / 0.6075 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004667/0.7169, allocations: 253 kB / 0.8473 GB, free: 196 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.7169, allocations: 11.91 kB / 0.8473 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.7169, allocations: 2.094 kB / 0.8473 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.7169, allocations: 4.594 kB / 0.8473 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.7171, allocations: 49.88 kB / 0.8474 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.7171, allocations: 2.812 kB / 0.8474 GB, free: 180 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002433/0.7174, allocations: 38.86 kB / 0.8474 GB, free: 156 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.024e-05/0.7174, allocations: 14.06 kB / 0.8474 GB, free: 152 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002274/0.7176, allocations: 173.5 kB / 0.8476 GB, free: 20 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002667/0.7179, allocations: 196.5 kB / 0.8478 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003524/0.7183, allocations: 234.7 kB / 0.848 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.383e-06/0.7183, allocations: 3.938 kB / 0.848 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004385/0.7187, allocations: 248.9 kB / 0.8482 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.7187, allocations: 10 kB / 0.8482 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.7187, allocations: 2.125 kB / 0.8482 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.512e-06/0.7188, allocations: 4.719 kB / 0.8482 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.7189, allocations: 52.28 kB / 0.8483 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.7189, allocations: 9.5 kB / 0.8483 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.7192, allocations: 28.55 kB / 0.8483 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.7192, allocations: 11.75 kB / 0.8483 GB, free: 15.43 MB / 0.6231 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.0001442/0.7193, allocations: 207 kB / 0.8485 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.7194, allocations: 28.84 kB / 0.8486 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003948/0.7198, allocations: 162.6 kB / 0.8487 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.7198, allocations: 2.25 kB / 0.8487 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.7198, allocations: 0 / 0.8487 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.7198, allocations: 0 / 0.8487 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.7209, allocations: 0.6087 MB / 0.8493 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.7209, allocations: 6.094 kB / 0.8493 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.721, allocations: 30.67 kB / 0.8494 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.721, allocations: 2.812 kB / 0.8494 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.721, allocations: 4.625 kB / 0.8494 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.721, allocations: 6.906 kB / 0.8494 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.7211, allocations: 7.75 kB / 0.8494 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.7215, allocations: 300.7 kB / 0.8497 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.7216, allocations: 121.2 kB / 0.8498 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.7216, allocations: 2.594 kB / 0.8498 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.7218, allocations: 19.42 kB / 0.8498 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.7219, allocations: 12.98 kB / 0.8498 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.7219, allocations: 2.531 kB / 0.8498 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002317/0.7221, allocations: 229.3 kB / 0.85 GB, free: 14 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7222, allocations: 0 / 0.85 GB, free: 14 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00056/0.7227, allocations: 133.9 kB / 0.8502 GB, free: 13.98 MB / 0.6231 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.001017/0.7237, allocations: 0.9052 MB / 0.851 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005986/0.7243, allocations: 250.7 kB / 0.8513 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7244, allocations: 0 / 0.8513 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.7245, allocations: 67.11 kB / 0.8513 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007261/0.7252, allocations: 122.3 kB / 0.8515 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.7286, allocations: 2.806 MB / 0.8542 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004293/0.7291, allocations: 0.7822 MB / 0.855 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002498/0.7293, allocations: 86.28 kB / 0.8551 GB, free: 9.902 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.7295, allocations: 89.66 kB / 0.8551 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of SimCode: time 6.02e-07/0.7295, allocations: 0 / 0.8551 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03014/0.7596, allocations: 7.906 MB / 0.8629 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.356/9.116, allocations: 7.594 kB / 0.8629 GB, free: 2.961 MB / 0.6231 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)