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.001982/0.001982, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8122/0.8122, allocations: 133.6 MB / 141.6 MB, free: 2.867 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 221.5 MB / 395.5 MB, free: 10.82 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.0008954/0.0008955, allocations: 110.1 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.176e-05/3.178e-05, allocations: 4 kB / 0.5536 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4741/0.4742, allocations: 82.29 MB / 0.6339 GB, free: 40.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.68/5.154, allocations: 1.869 GB / 2.503 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/5.155, allocations: 86.14 kB / 2.503 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.9013/6.056, allocations: 243.8 MB / 2.741 GB, free: 167 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.243e-06/6.056, allocations: 0 / 2.741 GB, free: 167 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.683e-05/6.056, allocations: 14.5 kB / 2.741 GB, free: 167 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.001035/6.057, allocations: 0.6486 MB / 2.741 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/6.057, allocations: 8.031 kB / 2.741 GB, free: 166.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/6.058, allocations: 147.5 kB / 2.742 GB, free: 166.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004219/6.059, allocations: 326.1 kB / 2.742 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/6.059, allocations: 8 kB / 2.742 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/6.059, allocations: 21.34 kB / 2.742 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002475/6.059, allocations: 149.1 kB / 2.742 GB, free: 165.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/6.059, allocations: 228.8 kB / 2.742 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/6.059, allocations: 0 / 2.742 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/6.059, allocations: 3.953 kB / 2.742 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/6.059, allocations: 8 kB / 2.742 GB, free: 165.4 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.00112/6.06, allocations: 1.155 MB / 2.743 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/6.061, allocations: 110.5 kB / 2.743 GB, free: 164 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.142e-05/6.061, allocations: 64.84 kB / 2.744 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004256/6.061, allocations: 303.2 kB / 2.744 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/6.061, allocations: 42.55 kB / 2.744 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/6.061, allocations: 0 / 2.744 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17): time 0.0006018/6.062, allocations: 202.5 kB / 2.744 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/6.062, allocations: 55.41 kB / 2.744 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/6.062, allocations: 210.3 kB / 2.744 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/6.062, allocations: 25.7 kB / 2.744 GB, free: 163 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.309e-05/6.062, allocations: 184.1 kB / 2.744 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/6.062, allocations: 55.11 kB / 2.745 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/6.062, allocations: 3.938 kB / 2.745 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.435e-05/6.062, allocations: 346.8 kB / 2.745 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.141e-05/6.062, allocations: 44.59 kB / 2.745 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/6.062, allocations: 117.8 kB / 2.745 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/6.063, allocations: 94.17 kB / 2.745 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/6.063, allocations: 0 / 2.745 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003491/6.063, allocations: 225.1 kB / 2.745 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/6.063, allocations: 5.094 kB / 2.745 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/6.063, allocations: 0 / 2.745 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/6.063, allocations: 4 kB / 2.745 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/6.063, allocations: 55.97 kB / 2.745 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/6.063, allocations: 7.984 kB / 2.745 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/6.063, allocations: 27.92 kB / 2.745 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/6.064, allocations: 12 kB / 2.745 GB, free: 161.8 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 () * 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 6.768e-05/6.064, allocations: 112.9 kB / 2.746 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003153/6.064, allocations: 181.2 kB / 2.746 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/6.064, allocations: 31.64 kB / 2.746 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/6.064, allocations: 200.4 kB / 2.746 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/6.064, allocations: 4 kB / 2.746 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/6.064, allocations: 0 / 2.746 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/6.064, allocations: 3.984 kB / 2.746 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007683/6.065, allocations: 0.6321 MB / 2.747 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/6.065, allocations: 4 kB / 2.747 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/6.065, allocations: 35.97 kB / 2.747 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/6.065, allocations: 4 kB / 2.747 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/6.065, allocations: 7.953 kB / 2.747 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/6.065, allocations: 0 / 2.747 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/6.065, allocations: 8.156 kB / 2.747 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004992/6.066, allocations: 479.5 kB / 2.747 GB, free: 160 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/6.066, allocations: 128.6 kB / 2.747 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/6.066, allocations: 4 kB / 2.747 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/6.066, allocations: 20.05 kB / 2.747 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.943e-05/6.066, allocations: 15.98 kB / 2.747 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/6.066, allocations: 4 kB / 2.747 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001108/6.066, allocations: 173.9 kB / 2.747 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/6.066, allocations: 0 / 2.747 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005824/6.067, allocations: 154.2 kB / 2.748 GB, free: 159.5 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 () * 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.002138/6.069, allocations: 2.576 MB / 2.75 GB, free: 157 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002376/6.069, allocations: 129.5 kB / 2.75 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/6.069, allocations: 0 / 2.75 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/6.07, allocations: 72.23 kB / 2.75 GB, free: 156.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006471/6.07, allocations: 111.2 kB / 2.75 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009734/6.071, allocations: 0.5093 MB / 2.751 GB, free: 156.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/6.071, allocations: 0.7871 MB / 2.752 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001774/6.072, allocations: 50.03 kB / 2.752 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/6.072, allocations: 91.41 kB / 2.752 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/6.072, allocations: 0 / 2.752 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03453/6.106, allocations: 14.4 MB / 2.766 GB, free: 140.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/6.107, allocations: 148.6 kB / 2.766 GB, free: 140.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.527/8.633, allocations: 0 / 2.766 GB, free: 140.6 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)