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.001292/0.001292, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001577/0.001577, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.194/2.194, allocations: 223.2 MB / 239.9 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.263/1.263, allocations: 132.2 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003766, allocations: 8.75 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.786/0.7864, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 0.238/1.024, allocations: 141.8 MB / 0.7214 GB, free: 2.434 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009345/1.034, allocations: 5.999 MB / 0.7273 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005547/1.035, allocations: 11.88 kB / 0.7273 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001054/1.036, allocations: 215 kB / 0.7275 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002272/1.038, allocations: 0.5297 MB / 0.728 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/1.04, allocations: 444.1 kB / 0.7285 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001148/1.041, allocations: 431.5 kB / 0.7289 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004956/1.041, allocations: 196.7 kB / 0.7291 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006295/1.042, allocations: 263.2 kB / 0.7293 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002284/1.042, allocations: 131.3 kB / 0.7294 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.48e-05/1.042, allocations: 8 kB / 0.7294 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/1.043, allocations: 387.4 kB / 0.7298 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001178/1.043, allocations: 91.77 kB / 0.7299 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.888e-05/1.043, allocations: 85.52 kB / 0.73 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005496/1.044, allocations: 331.3 kB / 0.7303 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/1.044, allocations: 0 / 0.7303 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.166e-06/1.044, allocations: 4 kB / 0.7303 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.743e-06/1.044, allocations: 0 / 0.7303 GB, free: 9.344 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.001077/1.045, allocations: 0.5688 MB / 0.7309 GB, free: 8.727 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.533e-05/1.045, allocations: 12.03 kB / 0.7309 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.996e-05/1.045, allocations: 54.53 kB / 0.7309 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004371/1.046, allocations: 67.5 kB / 0.731 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/1.046, allocations: 298.3 kB / 0.7313 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/1.046, allocations: 20.44 kB / 0.7313 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/1.046, allocations: 20 kB / 0.7313 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/1.047, allocations: 304.6 kB / 0.7316 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/1.047, allocations: 4 kB / 0.7316 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/1.047, allocations: 8 kB / 0.7316 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/1.047, allocations: 11.94 kB / 0.7316 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003978/1.047, allocations: 187.8 kB / 0.7318 GB, free: 7.668 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.001966/1.049, allocations: 1.706 MB / 0.7335 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/1.05, allocations: 114.5 kB / 0.7336 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 5.539e-05/1.05, allocations: 8 kB / 0.7336 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/1.05, allocations: 30.56 kB / 0.7336 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/1.05, allocations: 0 / 0.7336 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0007749/1.051, allocations: 233.2 kB / 0.7338 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/1.051, allocations: 55.41 kB / 0.7339 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/1.051, allocations: 324.4 kB / 0.7342 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/1.051, allocations: 33.7 kB / 0.7342 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001798/1.051, allocations: 191.8 kB / 0.7344 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/1.051, allocations: 43.66 kB / 0.7345 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/1.051, allocations: 4 kB / 0.7345 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001907/1.052, allocations: 342.8 kB / 0.7348 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/1.052, allocations: 63.89 kB / 0.7348 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/1.052, allocations: 198.8 kB / 0.735 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/1.052, allocations: 83.89 kB / 0.7351 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.145e-06/1.052, allocations: 0 / 0.7351 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004791/1.053, allocations: 260.9 kB / 0.7354 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007193/1.053, allocations: 1.403 MB / 0.7367 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.053, allocations: 4 kB / 0.7367 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/1.053, allocations: 11.95 kB / 0.7367 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/1.054, allocations: 47.91 kB / 0.7368 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/1.054, allocations: 4 kB / 0.7368 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/1.054, allocations: 43.77 kB / 0.7368 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/1.054, allocations: 12 kB / 0.7368 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/1.054, allocations: 4 kB / 0.7369 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004096/1.054, allocations: 207.8 kB / 0.737 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/1.054, allocations: 7.984 kB / 0.7371 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/1.054, allocations: 8.047 kB / 0.7371 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/1.055, allocations: 47.91 kB / 0.7371 GB, free: 1.867 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/1.055, allocations: 7.984 kB / 0.7371 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/1.055, allocations: 48.05 kB / 0.7372 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/1.055, allocations: 8 kB / 0.7372 GB, free: 1.805 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.0002409/1.055, allocations: 237 kB / 0.7374 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/1.055, allocations: 35.55 kB / 0.7374 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004599/1.056, allocations: 176.4 kB / 0.7376 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/1.056, allocations: 4 kB / 0.7376 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.056, allocations: 0 / 0.7376 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.056, allocations: 0 / 0.7376 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/1.057, allocations: 0.6096 MB / 0.7382 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/1.057, allocations: 4.062 kB / 0.7382 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/1.057, allocations: 35.91 kB / 0.7382 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/1.057, allocations: 4 kB / 0.7382 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/1.057, allocations: 0 / 0.7382 GB, free: 0.6133 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.057, allocations: 4 kB / 0.7382 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.057, allocations: 3.953 kB / 0.7382 GB, free: 0.6055 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004963/1.058, allocations: 396.7 kB / 0.7386 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/1.058, allocations: 116.8 kB / 0.7387 GB, free: 8 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.586e-05/1.058, allocations: 12.19 kB / 0.7388 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/1.058, allocations: 27.78 kB / 0.7388 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/1.058, allocations: 15.92 kB / 0.7388 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/1.058, allocations: 8 kB / 0.7388 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002479/1.058, allocations: 223 kB / 0.739 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.058, allocations: 4 kB / 0.739 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006418/1.059, allocations: 131.8 kB / 0.7391 GB, free: 15.59 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.001439/1.06, allocations: 1.459 MB / 0.7406 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006886/1.061, allocations: 269.5 kB / 0.7408 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/1.061, allocations: 0 / 0.7408 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/1.061, allocations: 63.89 kB / 0.7409 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008686/1.062, allocations: 141 kB / 0.741 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/1.066, allocations: 3.891 MB / 0.7448 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/1.067, allocations: 0.7836 MB / 0.7456 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003903/1.067, allocations: 86.89 kB / 0.7457 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/1.067, allocations: 87.41 kB / 0.7457 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of SimCode: time 1.252e-06/1.067, allocations: 0 / 0.7457 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02487/1.092, allocations: 7.477 MB / 0.7531 GB, free: 1.348 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/1.092, allocations: 197.8 kB / 0.7532 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.001/4.093, allocations: 0 / 0.7532 GB, free: 1.109 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Pressure.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Pressure.pipe 2>&1) Environment - environmentSimulation: