Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",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.009663/0.009663, allocations: 169.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8104/0.8104, 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 1.724/1.724, allocations: 223.2 MB / 406.8 MB, free: 3.223 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.001162/0.001162, allocations: 83.89 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004111/0.0004111, allocations: 8 kB / 0.5691 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5351/0.5355, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.171/5.706, allocations: 1.869 GB / 2.519 GB, free: 69.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003847/5.707, allocations: 96.19 kB / 2.519 GB, free: 69.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.059/6.766, allocations: 247 MB / 2.76 GB, free: 99.26 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.934e-06/6.766, allocations: 0 / 2.76 GB, free: 99.26 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.643e-05/6.766, allocations: 12 kB / 2.76 GB, free: 99.25 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001518/6.768, allocations: 0.701 MB / 2.761 GB, free: 98.49 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/6.768, allocations: 8.031 kB / 2.761 GB, free: 98.48 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000106/6.768, allocations: 54.55 kB / 2.761 GB, free: 98.42 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/6.769, allocations: 149.2 kB / 2.761 GB, free: 98.28 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/6.77, allocations: 317.8 kB / 2.761 GB, free: 97.93 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.44e-05/6.77, allocations: 20.44 kB / 2.761 GB, free: 97.91 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.249e-05/6.77, allocations: 23.94 kB / 2.761 GB, free: 97.89 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004571/6.77, allocations: 271.5 kB / 2.761 GB, free: 97.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/6.77, allocations: 0 / 2.761 GB, free: 97.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.522e-05/6.77, allocations: 12 kB / 2.761 GB, free: 97.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/6.77, allocations: 4 kB / 2.762 GB, free: 97.58 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/6.771, allocations: 197.2 kB / 2.762 GB, free: 97.39 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.00136/6.772, allocations: 1.217 MB / 2.763 GB, free: 96.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/6.772, allocations: 122.5 kB / 2.763 GB, free: 95.94 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004567/6.773, allocations: 299.3 kB / 2.763 GB, free: 95.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/6.773, allocations: 46.45 kB / 2.763 GB, free: 95.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/6.773, allocations: 3.938 kB / 2.763 GB, free: 95.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0007351/6.774, allocations: 267.8 kB / 2.764 GB, free: 95.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/6.774, allocations: 51.41 kB / 2.764 GB, free: 95.21 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/6.774, allocations: 279.7 kB / 2.764 GB, free: 94.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/6.774, allocations: 33.7 kB / 2.764 GB, free: 94.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/6.774, allocations: 184.1 kB / 2.764 GB, free: 94.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/6.774, allocations: 55.2 kB / 2.764 GB, free: 94.65 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/6.774, allocations: 0 / 2.764 GB, free: 94.65 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.739e-05/6.774, allocations: 338.8 kB / 2.764 GB, free: 94.31 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/6.774, allocations: 64.33 kB / 2.765 GB, free: 94.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/6.775, allocations: 142.3 kB / 2.765 GB, free: 94.09 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001623/6.775, allocations: 83.47 kB / 2.765 GB, free: 94.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/6.775, allocations: 0 / 2.765 GB, free: 94.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004095/6.775, allocations: 237.2 kB / 2.765 GB, free: 93.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/6.775, allocations: 5.094 kB / 2.765 GB, free: 93.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/6.775, allocations: 7.953 kB / 2.765 GB, free: 93.76 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/6.775, allocations: 0 / 2.765 GB, free: 93.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/6.776, allocations: 51.91 kB / 2.765 GB, free: 93.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/6.776, allocations: 4 kB / 2.765 GB, free: 93.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/6.776, allocations: 43.73 kB / 2.765 GB, free: 93.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.344e-05/6.776, allocations: 8 kB / 2.765 GB, free: 93.65 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 (22): * Single equations (assignments): 22 * 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.0001322/6.776, allocations: 145.8 kB / 2.765 GB, free: 93.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/6.776, allocations: 31.62 kB / 2.765 GB, free: 93.47 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004133/6.776, allocations: 220.3 kB / 2.765 GB, free: 93.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-06/6.776, allocations: 4.047 kB / 2.765 GB, free: 93.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/6.776, allocations: 4 kB / 2.765 GB, free: 93.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/6.777, allocations: 3.984 kB / 2.765 GB, free: 93.24 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00089/6.777, allocations: 0.6756 MB / 2.766 GB, free: 92.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/6.777, allocations: 224 / 2.766 GB, free: 92.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/6.778, allocations: 35.98 kB / 2.766 GB, free: 92.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/6.778, allocations: 4 kB / 2.766 GB, free: 92.45 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/6.778, allocations: 3.938 kB / 2.766 GB, free: 92.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/6.778, allocations: 7.984 kB / 2.766 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/6.778, allocations: 7.938 kB / 2.766 GB, free: 92.43 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005692/6.778, allocations: 0.4987 MB / 2.767 GB, free: 91.85 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/6.778, allocations: 124.6 kB / 2.767 GB, free: 91.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/6.778, allocations: 4 kB / 2.767 GB, free: 91.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/6.779, allocations: 19.98 kB / 2.767 GB, free: 91.68 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/6.779, allocations: 11.94 kB / 2.767 GB, free: 91.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/6.779, allocations: 20.12 kB / 2.767 GB, free: 91.65 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001833/6.779, allocations: 223 kB / 2.767 GB, free: 91.43 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/6.779, allocations: 0 / 2.767 GB, free: 91.43 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007169/6.78, allocations: 179.8 kB / 2.767 GB, free: 91.26 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 (15): * Single equations (assignments): 15 * 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.002308/6.782, allocations: 2.445 MB / 2.77 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003929/6.782, allocations: 168 kB / 2.77 GB, free: 88.59 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/6.782, allocations: 0 / 2.77 GB, free: 88.59 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001596/6.783, allocations: 87.83 kB / 2.77 GB, free: 88.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007801/6.783, allocations: 164.9 kB / 2.77 GB, free: 88.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/6.786, allocations: 2.486 MB / 2.772 GB, free: 85.75 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002206/6.786, allocations: 0.7838 MB / 2.773 GB, free: 84.95 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000254/6.786, allocations: 66.92 kB / 2.773 GB, free: 84.88 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/6.786, allocations: 87.41 kB / 2.773 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of SimCode: time 8.01e-07/6.786, allocations: 0 / 2.773 GB, free: 84.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04412/6.831, allocations: 24.28 MB / 2.797 GB, free: 60.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/6.831, allocations: 206.5 kB / 2.797 GB, free: 60.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.953/9.784, allocations: 0 / 2.797 GB, free: 60.46 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)