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.001155/0.001155, allocations: 174.5 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7324/0.7324, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 221.3 MB / 400.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008774/0.0008777, allocations: 93.3 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.605e-05, allocations: 7.156 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1374, allocations: 82.31 MB / 0.6405 GB, free: 7.703 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.847/4.984, allocations: 1.869 GB / 2.51 GB, free: 61.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/4.984, allocations: 87.89 kB / 2.51 GB, free: 61.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.015/6, allocations: 246.8 MB / 2.751 GB, free: 88.64 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.633e-06/6, allocations: 4 kB / 2.751 GB, free: 88.64 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.969e-05/6, allocations: 4 kB / 2.751 GB, free: 88.64 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.001381/6.001, allocations: 0.6539 MB / 2.752 GB, free: 87.94 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/6.001, allocations: 12.03 kB / 2.752 GB, free: 87.93 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/6.001, allocations: 58.55 kB / 2.752 GB, free: 87.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/6.003, allocations: 153.1 kB / 2.752 GB, free: 87.71 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005738/6.003, allocations: 318.7 kB / 2.752 GB, free: 87.36 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/6.003, allocations: 28.52 kB / 2.752 GB, free: 87.33 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.129e-05/6.003, allocations: 24 kB / 2.752 GB, free: 87.31 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/6.004, allocations: 254 kB / 2.752 GB, free: 87.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/6.004, allocations: 0 / 2.752 GB, free: 87.04 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/6.004, allocations: 12 kB / 2.752 GB, free: 87.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/6.004, allocations: 7.984 kB / 2.752 GB, free: 87.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002682/6.004, allocations: 169 kB / 2.753 GB, free: 86.85 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.001246/6.005, allocations: 1.223 MB / 2.754 GB, free: 85.53 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/6.006, allocations: 114.6 kB / 2.754 GB, free: 85.41 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.416e-05/6.006, allocations: 84.77 kB / 2.754 GB, free: 85.32 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004403/6.006, allocations: 295.3 kB / 2.754 GB, free: 84.98 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/6.006, allocations: 38.52 kB / 2.754 GB, free: 84.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=17): time 1.993e-06/6.006, allocations: 0 / 2.754 GB, free: 84.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17): time 0.0004463/6.007, allocations: 186.7 kB / 2.754 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/6.007, allocations: 59.41 kB / 2.755 GB, free: 84.67 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/6.007, allocations: 278.7 kB / 2.755 GB, free: 84.39 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/6.007, allocations: 29.7 kB / 2.755 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.545e-05/6.007, allocations: 184.2 kB / 2.755 GB, free: 84.18 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/6.007, allocations: 67.08 kB / 2.755 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-06/6.007, allocations: 4 kB / 2.755 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.547e-05/6.007, allocations: 342.8 kB / 2.755 GB, free: 83.76 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.012e-05/6.007, allocations: 48.8 kB / 2.755 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/6.007, allocations: 114.7 kB / 2.756 GB, free: 83.58 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/6.007, allocations: 77.28 kB / 2.756 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/6.007, allocations: 0 / 2.756 GB, free: 83.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002684/6.008, allocations: 214.9 kB / 2.756 GB, free: 83.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/6.008, allocations: 8 kB / 2.756 GB, free: 83.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/6.008, allocations: 0 / 2.756 GB, free: 83.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/6.008, allocations: 7.953 kB / 2.756 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/6.008, allocations: 56 kB / 2.756 GB, free: 83.22 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/6.008, allocations: 4 kB / 2.756 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/6.008, allocations: 35.73 kB / 2.756 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/6.008, allocations: 8 kB / 2.756 GB, free: 83.17 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.866e-05/6.008, allocations: 131.1 kB / 2.756 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/6.008, allocations: 31.62 kB / 2.756 GB, free: 83.01 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003055/6.009, allocations: 185.6 kB / 2.756 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/6.009, allocations: 7.953 kB / 2.756 GB, free: 82.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/6.009, allocations: 0 / 2.756 GB, free: 82.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/6.009, allocations: 3.938 kB / 2.756 GB, free: 82.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007633/6.01, allocations: 0.6523 MB / 2.757 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/6.01, allocations: 4 kB / 2.757 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/6.01, allocations: 39.92 kB / 2.757 GB, free: 82.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/6.01, allocations: 4 kB / 2.757 GB, free: 82.03 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/6.01, allocations: 8.203 kB / 2.757 GB, free: 82.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/6.01, allocations: 4 kB / 2.757 GB, free: 82.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/6.01, allocations: 4 kB / 2.757 GB, free: 82.01 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004061/6.01, allocations: 474.3 kB / 2.757 GB, free: 81.47 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/6.01, allocations: 128.7 kB / 2.758 GB, free: 81.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.406e-05/6.01, allocations: 12.06 kB / 2.758 GB, free: 81.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/6.011, allocations: 15.98 kB / 2.758 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/6.011, allocations: 23.88 kB / 2.758 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/6.011, allocations: 4 kB / 2.758 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001777/6.011, allocations: 234.2 kB / 2.758 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/6.011, allocations: 0 / 2.758 GB, free: 81.04 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007723/6.012, allocations: 179.8 kB / 2.758 GB, free: 80.87 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.002103/6.014, allocations: 2.408 MB / 2.76 GB, free: 78.39 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002905/6.014, allocations: 143.8 kB / 2.76 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/6.014, allocations: 0 / 2.76 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001148/6.014, allocations: 79.91 kB / 2.761 GB, free: 78.17 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00081/6.015, allocations: 160.3 kB / 2.761 GB, free: 78.02 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/6.016, allocations: 0.53 MB / 2.761 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/6.016, allocations: 0.7875 MB / 2.762 GB, free: 76.62 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002025/6.017, allocations: 58.92 kB / 2.762 GB, free: 76.56 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/6.017, allocations: 87.41 kB / 2.762 GB, free: 76.47 MB / 0.6823 GB Notification: Performance of SimCode: time 5.52e-07/6.017, allocations: 4 kB / 2.762 GB, free: 76.47 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04153/6.058, allocations: 27.34 MB / 2.789 GB, free: 49.28 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/6.058, allocations: 177.3 kB / 2.789 GB, free: 49.05 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/8.979, allocations: 0 / 2.789 GB, free: 49.05 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)