Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IDEAS_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.008995/0.008995, allocations: 170.1 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.786/0.786, allocations: 135.2 MB / 151 MB, free: 13.86 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.732/1.732, allocations: 223.2 MB / 406.8 MB, free: 3.266 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.001011/0.001011, allocations: 96.2 kB / 489.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.0003885, allocations: 8 kB / 0.5692 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5213/0.5217, allocations: 82.3 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.065/5.586, allocations: 1.869 GB / 2.519 GB, free: 69.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/5.587, allocations: 89.83 kB / 2.519 GB, free: 69.35 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.006/6.593, allocations: 247.1 MB / 2.76 GB, free: 99.3 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.724e-06/6.593, allocations: 0 / 2.76 GB, free: 99.3 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.025e-05/6.593, allocations: 15.94 kB / 2.76 GB, free: 99.29 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.001464/6.594, allocations: 0.6973 MB / 2.761 GB, free: 98.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.603e-05/6.594, allocations: 12.03 kB / 2.761 GB, free: 98.53 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.66e-05/6.594, allocations: 54.55 kB / 2.761 GB, free: 98.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/6.596, allocations: 153.1 kB / 2.761 GB, free: 98.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/6.596, allocations: 326.7 kB / 2.761 GB, free: 97.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/6.596, allocations: 24.52 kB / 2.762 GB, free: 97.94 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/6.596, allocations: 24 kB / 2.762 GB, free: 97.91 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/6.597, allocations: 277.8 kB / 2.762 GB, free: 97.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/6.597, allocations: 4 kB / 2.762 GB, free: 97.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/6.597, allocations: 12 kB / 2.762 GB, free: 97.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/6.597, allocations: 8 kB / 2.762 GB, free: 97.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/6.597, allocations: 200.6 kB / 2.762 GB, free: 97.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.001271/6.598, allocations: 1.227 MB / 2.763 GB, free: 96.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/6.599, allocations: 138.4 kB / 2.763 GB, free: 95.93 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004563/6.599, allocations: 299.3 kB / 2.764 GB, free: 95.58 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/6.599, allocations: 30.56 kB / 2.764 GB, free: 95.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/6.599, allocations: 4 kB / 2.764 GB, free: 95.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=17): time 0.0007497/6.6, allocations: 290.3 kB / 2.764 GB, free: 95.25 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.958e-05/6.6, allocations: 55.41 kB / 2.764 GB, free: 95.18 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/6.6, allocations: 291.5 kB / 2.764 GB, free: 94.89 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/6.6, allocations: 29.7 kB / 2.764 GB, free: 94.85 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/6.6, allocations: 184.2 kB / 2.764 GB, free: 94.67 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.43e-05/6.6, allocations: 63.09 kB / 2.765 GB, free: 94.61 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/6.6, allocations: 4 kB / 2.765 GB, free: 94.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001018/6.6, allocations: 338.8 kB / 2.765 GB, free: 94.26 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/6.601, allocations: 68.77 kB / 2.765 GB, free: 94.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/6.601, allocations: 137.9 kB / 2.765 GB, free: 94.04 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/6.601, allocations: 88.73 kB / 2.765 GB, free: 93.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/6.601, allocations: 0 / 2.765 GB, free: 93.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004049/6.601, allocations: 251.4 kB / 2.765 GB, free: 93.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/6.601, allocations: 4 kB / 2.765 GB, free: 93.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/6.601, allocations: 4 kB / 2.765 GB, free: 93.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/6.602, allocations: 3.953 kB / 2.765 GB, free: 93.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/6.602, allocations: 51.91 kB / 2.765 GB, free: 93.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/6.602, allocations: 0 / 2.765 GB, free: 93.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/6.602, allocations: 39.86 kB / 2.765 GB, free: 93.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-05/6.602, allocations: 19.98 kB / 2.765 GB, free: 93.58 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.000188/6.602, allocations: 145.8 kB / 2.766 GB, free: 93.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/6.602, allocations: 31.62 kB / 2.766 GB, free: 93.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00047/6.603, allocations: 238.1 kB / 2.766 GB, free: 93.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/6.603, allocations: 7.953 kB / 2.766 GB, free: 93.15 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/6.603, allocations: 0 / 2.766 GB, free: 93.15 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/6.603, allocations: 0 / 2.766 GB, free: 93.15 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008949/6.604, allocations: 0.699 MB / 2.767 GB, free: 92.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/6.604, allocations: 3.938 kB / 2.767 GB, free: 92.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/6.604, allocations: 39.92 kB / 2.767 GB, free: 92.33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/6.604, allocations: 4 kB / 2.767 GB, free: 92.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/6.604, allocations: 4 kB / 2.767 GB, free: 92.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/6.604, allocations: 7.984 kB / 2.767 GB, free: 92.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/6.604, allocations: 0 / 2.767 GB, free: 92.31 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006223/6.605, allocations: 0.5216 MB / 2.767 GB, free: 91.71 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/6.605, allocations: 128.8 kB / 2.767 GB, free: 91.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.85e-05/6.605, allocations: 8 kB / 2.767 GB, free: 91.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/6.605, allocations: 19.98 kB / 2.767 GB, free: 91.54 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.548e-05/6.605, allocations: 19.98 kB / 2.767 GB, free: 91.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/6.605, allocations: 11.94 kB / 2.767 GB, free: 91.51 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000203/6.605, allocations: 231 kB / 2.768 GB, free: 91.29 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/6.605, allocations: 0 / 2.768 GB, free: 91.29 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008569/6.606, allocations: 167.9 kB / 2.768 GB, free: 91.12 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.002655/6.609, allocations: 2.477 MB / 2.77 GB, free: 88.58 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004561/6.609, allocations: 171.8 kB / 2.77 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/6.609, allocations: 0 / 2.77 GB, free: 88.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002051/6.61, allocations: 92.08 kB / 2.77 GB, free: 88.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008225/6.61, allocations: 161.7 kB / 2.771 GB, free: 88.17 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/6.613, allocations: 2.582 MB / 2.773 GB, free: 85.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/6.613, allocations: 0.7914 MB / 2.774 GB, free: 84.67 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000262/6.614, allocations: 62.92 kB / 2.774 GB, free: 84.61 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/6.614, allocations: 99.34 kB / 2.774 GB, free: 84.51 MB / 0.6823 GB Notification: Performance of SimCode: time 1.052e-06/6.614, allocations: 0 / 2.774 GB, free: 84.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04428/6.658, allocations: 24.43 MB / 2.798 GB, free: 60.25 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/6.658, allocations: 196.4 kB / 2.798 GB, free: 60 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.925/9.583, allocations: 0 / 2.798 GB, free: 60 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_Velocity.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1)