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.001098/0.001098, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0009668/0.000967, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.3 MB / 426.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003212/0.0003212, allocations: 8 kB / 0.5071 GB, free: 5.016 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1656, allocations: 82.32 MB / 0.5875 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.491/0.6566, allocations: 153.9 MB / 0.7378 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009737/0.6664, allocations: 6.786 MB / 0.7444 GB, free: 9.191 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005682/0.667, allocations: 10.66 kB / 0.7444 GB, free: 9.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008099/0.6679, allocations: 143.7 kB / 0.7446 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.6696, allocations: 441.4 kB / 0.745 GB, free: 8.871 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.671, allocations: 351.4 kB / 0.7453 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001362/0.6724, allocations: 0.8686 MB / 0.7462 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004495/0.6729, allocations: 203.4 kB / 0.7464 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008658/0.6737, allocations: 306.3 kB / 0.7467 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004566/0.6742, allocations: 218.2 kB / 0.7469 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.6743, allocations: 12.47 kB / 0.7469 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.6758, allocations: 0.5214 MB / 0.7474 GB, free: 7.695 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002146/0.6761, allocations: 108.2 kB / 0.7475 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.6762, allocations: 81.95 kB / 0.7476 GB, free: 7.566 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007281/0.677, allocations: 376.1 kB / 0.7479 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.677, allocations: 0 / 0.7479 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.235e-06/0.677, allocations: 3.344 kB / 0.7479 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.727e-05/0.677, allocations: 0 / 0.7479 GB, free: 7.352 MB / 0.5606 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.001225/0.6782, allocations: 0.589 MB / 0.7485 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.6783, allocations: 12.75 kB / 0.7485 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.544e-05/0.6784, allocations: 61.62 kB / 0.7486 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004346/0.6788, allocations: 60.78 kB / 0.7486 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005235/0.6794, allocations: 293.1 kB / 0.7489 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.6794, allocations: 18.16 kB / 0.7489 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.185e-05/0.6795, allocations: 26.19 kB / 0.749 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.68, allocations: 310.7 kB / 0.7493 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.6801, allocations: 0 / 0.7493 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.686e-05/0.6801, allocations: 12 kB / 0.7493 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.6801, allocations: 9.875 kB / 0.7493 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.6805, allocations: 181.2 kB / 0.7495 GB, free: 6.09 MB / 0.5606 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.001974/0.6825, allocations: 1.707 MB / 0.7511 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.6828, allocations: 101.2 kB / 0.7512 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.6829, allocations: 84.88 kB / 0.7513 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002959/0.6833, allocations: 183.7 kB / 0.7515 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.6833, allocations: 40.94 kB / 0.7515 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.733e-06/0.6833, allocations: 0 / 0.7515 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0006922/0.684, allocations: 239.5 kB / 0.7517 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.6841, allocations: 51.41 kB / 0.7518 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.6844, allocations: 327.3 kB / 0.7521 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.6844, allocations: 28.7 kB / 0.7521 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.6846, allocations: 198.6 kB / 0.7523 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.6846, allocations: 42.77 kB / 0.7524 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.6846, allocations: 7.438 kB / 0.7524 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6848, allocations: 332.1 kB / 0.7527 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.685, allocations: 66.83 kB / 0.7527 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.6852, allocations: 192.3 kB / 0.7529 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.6854, allocations: 82.25 kB / 0.753 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.6854, allocations: 0 / 0.753 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005178/0.686, allocations: 272.8 kB / 0.7533 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/0.6861, allocations: 200.6 kB / 0.7535 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.6862, allocations: 4 kB / 0.7535 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.6862, allocations: 4 kB / 0.7535 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.6864, allocations: 47.92 kB / 0.7535 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.706e-05/0.6864, allocations: 15.92 kB / 0.7535 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.6867, allocations: 35.77 kB / 0.7536 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.6868, allocations: 13.72 kB / 0.7536 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.278e-06/0.6868, allocations: 4 kB / 0.7536 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000391/0.6872, allocations: 204.2 kB / 0.7538 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6872, allocations: 12.02 kB / 0.7538 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.265e-06/0.6872, allocations: 7.938 kB / 0.7538 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.6874, allocations: 43.98 kB / 0.7538 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.6874, allocations: 11.89 kB / 0.7538 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.6876, allocations: 39.77 kB / 0.7539 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.41e-05/0.6877, allocations: 15.98 kB / 0.7539 GB, free: 2.023 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002057/0.6879, allocations: 233 kB / 0.7541 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.563e-05/0.688, allocations: 27.62 kB / 0.7542 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/0.6884, allocations: 176.4 kB / 0.7543 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6884, allocations: 3.984 kB / 0.7543 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.6884, allocations: 7.953 kB / 0.7543 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6884, allocations: 0 / 0.7543 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.6895, allocations: 0.6171 MB / 0.7549 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6895, allocations: 4 kB / 0.7549 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.6896, allocations: 23.98 kB / 0.755 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.6896, allocations: 4.219 kB / 0.755 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.6897, allocations: 8 kB / 0.755 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.6897, allocations: 7.922 kB / 0.755 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.6897, allocations: 6 kB / 0.755 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005146/0.6902, allocations: 317 kB / 0.7553 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.6904, allocations: 112.8 kB / 0.7554 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.948e-05/0.6905, allocations: 3.984 kB / 0.7554 GB, free: 344 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.6907, allocations: 27.89 kB / 0.7554 GB, free: 316 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.015e-05/0.6907, allocations: 15.92 kB / 0.7554 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.6908, allocations: 4 kB / 0.7554 GB, free: 296 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000299/0.6911, allocations: 219.1 kB / 0.7557 GB, free: 80 kB / 0.5606 GB Notification: Performance of sort global known variables: time 6.51e-07/0.6911, allocations: 0 / 0.7557 GB, free: 80 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008596/0.6919, allocations: 147.8 kB / 0.7558 GB, free: 15.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001299/0.6933, allocations: 0.8873 MB / 0.7567 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006948/0.694, allocations: 262.2 kB / 0.7569 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.694, allocations: 0 / 0.7569 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.6942, allocations: 71.91 kB / 0.757 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.6952, allocations: 143.5 kB / 0.7571 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.6979, allocations: 1.64 MB / 0.7587 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.6983, allocations: 0.7797 MB / 0.7595 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003267/0.6986, allocations: 82.91 kB / 0.7596 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.6988, allocations: 99.33 kB / 0.7597 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of SimCode: time 8.02e-07/0.6988, allocations: 0 / 0.7597 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.7214, allocations: 7.501 MB / 0.767 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.7217, allocations: 201 kB / 0.7672 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.671, allocations: 0 / 0.7672 GB, free: 4.32 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Pressure.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1) Environment - environmentSimulation: