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.001639/0.001639, allocations: 99.7 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.003579/0.003579, allocations: 177.3 kB / 15.94 MB, free: 228 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.924/2.924, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.875/1.875, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007668/0.0007669, allocations: 12 kB / 0.5069 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3474, allocations: 82.31 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Pressure): time 1.047/1.394, allocations: 141.8 MB / 0.7257 GB, free: 7.582 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0148/1.409, allocations: 5.996 MB / 0.7316 GB, free: 3.391 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007365/1.41, allocations: 13.22 kB / 0.7316 GB, free: 3.383 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001287/1.411, allocations: 217.9 kB / 0.7318 GB, free: 3.262 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003295/1.415, allocations: 0.5246 MB / 0.7323 GB, free: 2.934 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002978/1.417, allocations: 436 kB / 0.7327 GB, free: 2.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002043/1.42, allocations: 444 kB / 0.7332 GB, free: 2.508 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008539/1.42, allocations: 203.9 kB / 0.7334 GB, free: 2.438 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/1.422, allocations: 259.5 kB / 0.7336 GB, free: 2.312 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005851/1.422, allocations: 138.8 kB / 0.7337 GB, free: 2.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/1.422, allocations: 10.44 kB / 0.7337 GB, free: 2.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/1.425, allocations: 385.7 kB / 0.7341 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002856/1.425, allocations: 89 kB / 0.7342 GB, free: 2.117 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002666/1.425, allocations: 87.77 kB / 0.7343 GB, free: 2.059 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/1.426, allocations: 340.1 kB / 0.7346 GB, free: 1.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/1.426, allocations: 0 / 0.7346 GB, free: 1.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.974e-06/1.426, allocations: 0 / 0.7346 GB, free: 1.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.869e-05/1.427, allocations: 0 / 0.7346 GB, free: 1.98 MB / 0.545 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.001917/1.428, allocations: 0.5767 MB / 0.7352 GB, free: 1.484 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.169e-05/1.429, allocations: 8.219 kB / 0.7352 GB, free: 1.484 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/1.429, allocations: 59.08 kB / 0.7352 GB, free: 1.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000777/1.43, allocations: 70.77 kB / 0.7353 GB, free: 1.402 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/1.431, allocations: 290.2 kB / 0.7356 GB, free: 1.152 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.152e-05/1.431, allocations: 20.88 kB / 0.7356 GB, free: 1.145 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/1.431, allocations: 20 kB / 0.7356 GB, free: 1.141 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/1.432, allocations: 307.9 kB / 0.7359 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/1.432, allocations: 0 / 0.7359 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/1.432, allocations: 10.81 kB / 0.7359 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/1.432, allocations: 9.656 kB / 0.7359 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/1.433, allocations: 184 kB / 0.7361 GB, free: 0.8789 MB / 0.545 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.00353/1.436, allocations: 1.705 MB / 0.7378 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005123/1.437, allocations: 106.7 kB / 0.7379 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.741e-05/1.437, allocations: 11.25 kB / 0.7379 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.21e-05/1.437, allocations: 35.17 kB / 0.7379 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=11): time 3.377e-06/1.437, allocations: 0 / 0.7379 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001372/1.438, allocations: 240.9 kB / 0.7381 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/1.438, allocations: 54.44 kB / 0.7382 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000752/1.439, allocations: 319 kB / 0.7385 GB, free: 15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.325e-05/1.439, allocations: 33.36 kB / 0.7385 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/1.44, allocations: 194 kB / 0.7387 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.62e-05/1.44, allocations: 34.97 kB / 0.7387 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/1.44, allocations: 6.969 kB / 0.7388 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003054/1.44, allocations: 339.3 kB / 0.7391 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/1.44, allocations: 59.58 kB / 0.7391 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/1.441, allocations: 194.8 kB / 0.7393 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/1.441, allocations: 82.81 kB / 0.7394 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/1.441, allocations: 4.562 kB / 0.7394 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009337/1.442, allocations: 263.4 kB / 0.7397 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.001229/1.443, allocations: 1.396 MB / 0.741 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/1.443, allocations: 4.562 kB / 0.741 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.781e-05/1.443, allocations: 5.875 kB / 0.741 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/1.444, allocations: 53.08 kB / 0.7411 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.911e-05/1.444, allocations: 11.44 kB / 0.7411 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006255/1.445, allocations: 46.92 kB / 0.7411 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/1.445, allocations: 11.09 kB / 0.7411 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/1.445, allocations: 5.438 kB / 0.7412 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007503/1.445, allocations: 202.1 kB / 0.7413 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.681e-05/1.445, allocations: 5.281 kB / 0.7413 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/1.445, allocations: 10.94 kB / 0.7414 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/1.446, allocations: 44.48 kB / 0.7414 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.891e-05/1.446, allocations: 16.41 kB / 0.7414 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005336/1.446, allocations: 38.14 kB / 0.7415 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.154e-05/1.446, allocations: 15.77 kB / 0.7415 GB, free: 12.48 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.0004152/1.447, allocations: 234.6 kB / 0.7417 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/1.447, allocations: 30.62 kB / 0.7417 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007981/1.448, allocations: 173.9 kB / 0.7419 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/1.448, allocations: 3.984 kB / 0.7419 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/1.448, allocations: 0.5625 kB / 0.7419 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/1.448, allocations: 3.953 kB / 0.7419 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002115/1.45, allocations: 0.6264 MB / 0.7425 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/1.45, allocations: 0 / 0.7425 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/1.45, allocations: 29.34 kB / 0.7425 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/1.45, allocations: 0 / 0.7425 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/1.451, allocations: 3.312 kB / 0.7425 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.396e-05/1.451, allocations: 7.438 kB / 0.7425 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/1.451, allocations: 1.594 kB / 0.7425 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009331/1.452, allocations: 408.1 kB / 0.7429 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002686/1.452, allocations: 112.6 kB / 0.743 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-05/1.452, allocations: 6.719 kB / 0.7431 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/1.452, allocations: 21.53 kB / 0.7431 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/1.452, allocations: 16.09 kB / 0.7431 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/1.452, allocations: 6.906 kB / 0.7431 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005205/1.453, allocations: 225.1 kB / 0.7433 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.3e-07/1.453, allocations: 0 / 0.7433 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00139/1.454, allocations: 131.1 kB / 0.7434 GB, free: 11.05 MB / 0.5606 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.00283/1.457, allocations: 1.469 MB / 0.7449 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001503/1.459, allocations: 260.6 kB / 0.7451 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/1.459, allocations: 0 / 0.7451 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003482/1.459, allocations: 66.84 kB / 0.7452 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/1.461, allocations: 148.4 kB / 0.7453 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009087/1.47, allocations: 3.882 MB / 0.7491 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/1.471, allocations: 0.7834 MB / 0.7499 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008305/1.472, allocations: 84.92 kB / 0.75 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/1.473, allocations: 92.06 kB / 0.75 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of SimCode: time 3.045e-06/1.473, allocations: 0 / 0.75 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05238/1.525, allocations: 7.484 MB / 0.7574 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003869/1.525, allocations: 205.1 kB / 0.7575 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.398/4.924, allocations: 4 kB / 0.7576 GB, free: 13.46 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: