Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01736/0.01735, allocations: 168.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.442/1.442, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.801/2.801, allocations: 223.2 MB / 406.8 MB, free: 3.25 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 109.2 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005869/0.0005872, allocations: 8 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.895/0.8956, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.776/9.671, allocations: 1.869 GB / 2.519 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004275/9.672, allocations: 87.95 kB / 2.519 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.705/11.38, allocations: 247.1 MB / 2.76 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.484e-06/11.38, allocations: 0 / 2.76 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.582e-05/11.38, allocations: 8 kB / 2.76 GB, free: 129.3 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.002598/11.38, allocations: 0.6974 MB / 2.761 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.958e-05/11.38, allocations: 8.031 kB / 2.761 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/11.38, allocations: 58.53 kB / 2.761 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00198/11.38, allocations: 153.1 kB / 2.761 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008922/11.38, allocations: 334.7 kB / 2.761 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.115e-05/11.38, allocations: 17.42 kB / 2.762 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/11.38, allocations: 24 kB / 2.762 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008507/11.38, allocations: 285.8 kB / 2.762 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/11.38, allocations: 0 / 2.762 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/11.38, allocations: 12 kB / 2.762 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/11.38, allocations: 4 kB / 2.762 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006406/11.39, allocations: 212.7 kB / 2.762 GB, free: 127.4 MB / 0.6823 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.0023/11.39, allocations: 1.211 MB / 2.763 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004451/11.39, allocations: 150.4 kB / 2.763 GB, free: 125.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007852/11.39, allocations: 291.3 kB / 2.764 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/11.39, allocations: 42.55 kB / 2.764 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=17): time 3.256e-06/11.39, allocations: 0 / 2.764 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17): time 0.001308/11.39, allocations: 286.9 kB / 2.764 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/11.39, allocations: 55.36 kB / 2.764 GB, free: 125.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/11.39, allocations: 283.6 kB / 2.764 GB, free: 124.9 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/11.39, allocations: 37.64 kB / 2.764 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/11.39, allocations: 180.2 kB / 2.764 GB, free: 124.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.046e-05/11.39, allocations: 59.11 kB / 2.765 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/11.39, allocations: 0 / 2.765 GB, free: 124.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001364/11.39, allocations: 350.8 kB / 2.765 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/11.39, allocations: 68.77 kB / 2.765 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/11.39, allocations: 135.7 kB / 2.765 GB, free: 124 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/11.39, allocations: 82.2 kB / 2.765 GB, free: 124 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/11.39, allocations: 4 kB / 2.765 GB, free: 123.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007191/11.39, allocations: 253 kB / 2.765 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/11.39, allocations: 8 kB / 2.765 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/11.39, allocations: 0 / 2.765 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.421e-05/11.39, allocations: 4 kB / 2.765 GB, free: 123.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/11.39, allocations: 48.02 kB / 2.765 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/11.39, allocations: 7.984 kB / 2.765 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/11.39, allocations: 39.72 kB / 2.765 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.19e-05/11.39, allocations: 15.88 kB / 2.765 GB, free: 123.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 24 * 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.0002402/11.39, allocations: 153.8 kB / 2.766 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.073e-05/11.39, allocations: 27.62 kB / 2.766 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007522/11.39, allocations: 237.8 kB / 2.766 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/11.39, allocations: 0 / 2.766 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/11.4, allocations: 0 / 2.766 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/11.4, allocations: 4 kB / 2.766 GB, free: 123.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/11.4, allocations: 0.7029 MB / 2.767 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/11.4, allocations: 0 / 2.767 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002959/11.4, allocations: 39.97 kB / 2.767 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/11.4, allocations: 3.953 kB / 2.767 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/11.4, allocations: 8 kB / 2.767 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/11.4, allocations: 4 kB / 2.767 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/11.4, allocations: 8.156 kB / 2.767 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/11.4, allocations: 0.5141 MB / 2.767 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/11.4, allocations: 124.6 kB / 2.767 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.166e-05/11.4, allocations: 11.98 kB / 2.767 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/11.4, allocations: 20.05 kB / 2.767 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.168e-05/11.4, allocations: 15.98 kB / 2.767 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/11.4, allocations: 4 kB / 2.767 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003689/11.4, allocations: 227 kB / 2.768 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.91e-07/11.4, allocations: 0 / 2.768 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001437/11.4, allocations: 176 kB / 2.768 GB, free: 121.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (17): * Single equations (assignments): 17 * 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.004382/11.41, allocations: 2.47 MB / 2.77 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008015/11.41, allocations: 171.8 kB / 2.77 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.585e-06/11.41, allocations: 8.125 kB / 2.77 GB, free: 118.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003059/11.41, allocations: 95.83 kB / 2.77 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/11.41, allocations: 164.8 kB / 2.771 GB, free: 118.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004962/11.41, allocations: 2.577 MB / 2.773 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/11.41, allocations: 0.7875 MB / 2.774 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0004904/11.41, allocations: 58.94 kB / 2.774 GB, free: 114.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/11.41, allocations: 91.41 kB / 2.774 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of SimCode: time 7.053e-06/11.41, allocations: 0 / 2.774 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0668/11.48, allocations: 24.46 MB / 2.798 GB, free: 90.24 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002625/11.48, allocations: 193 kB / 2.798 GB, free: 90 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.63/17.11, allocations: 0 / 2.798 GB, free: 90 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)