Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IDEAS_dev_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.001151/0.001151, allocations: 174.2 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.8044/0.8044, allocations: 133.4 MB / 146.7 MB, free: 10.76 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.442/1.442, allocations: 221.3 MB / 400.4 MB, free: 5.828 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.0009281/0.000928, allocations: 93.72 kB / 483.3 MB, free: 5.848 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.047e-05/5.083e-05, allocations: 3.875 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1558, allocations: 82.3 MB / 0.6405 GB, free: 7.703 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.778/4.934, allocations: 1.869 GB / 2.51 GB, free: 59.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/4.934, allocations: 79.95 kB / 2.51 GB, free: 59.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.03/5.964, allocations: 246.7 MB / 2.751 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.844e-06/5.964, allocations: 0 / 2.751 GB, free: 86.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.343e-05/5.964, allocations: 4 kB / 2.751 GB, free: 86.36 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.001492/5.966, allocations: 0.646 MB / 2.751 GB, free: 85.67 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/5.966, allocations: 12.03 kB / 2.751 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/5.966, allocations: 58.55 kB / 2.751 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/5.968, allocations: 149.2 kB / 2.752 GB, free: 85.45 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006327/5.968, allocations: 313.9 kB / 2.752 GB, free: 85.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/5.968, allocations: 20.44 kB / 2.752 GB, free: 85.08 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.73e-05/5.968, allocations: 27.91 kB / 2.752 GB, free: 85.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/5.969, allocations: 251.5 kB / 2.752 GB, free: 84.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/5.969, allocations: 0 / 2.752 GB, free: 84.79 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.434e-05/5.969, allocations: 8 kB / 2.752 GB, free: 84.78 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/5.969, allocations: 8 kB / 2.752 GB, free: 84.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002668/5.969, allocations: 163.8 kB / 2.752 GB, free: 84.61 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.001494/5.971, allocations: 1.201 MB / 2.753 GB, free: 83.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/5.971, allocations: 107.7 kB / 2.754 GB, free: 83.19 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.606e-05/5.971, allocations: 72.84 kB / 2.754 GB, free: 83.12 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004969/5.971, allocations: 299.2 kB / 2.754 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/5.971, allocations: 46.77 kB / 2.754 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.014e-06/5.971, allocations: 0 / 2.754 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0005323/5.972, allocations: 173.2 kB / 2.754 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/5.972, allocations: 55.41 kB / 2.754 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00028/5.972, allocations: 274.7 kB / 2.754 GB, free: 82.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/5.972, allocations: 29.7 kB / 2.754 GB, free: 82.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/5.972, allocations: 188 kB / 2.755 GB, free: 81.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/5.973, allocations: 51.3 kB / 2.755 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-06/5.973, allocations: 7.938 kB / 2.755 GB, free: 81.92 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.89e-05/5.973, allocations: 338.8 kB / 2.755 GB, free: 81.58 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-05/5.973, allocations: 52.3 kB / 2.755 GB, free: 81.53 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/5.973, allocations: 108.9 kB / 2.755 GB, free: 81.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/5.973, allocations: 65.58 kB / 2.755 GB, free: 81.34 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/5.973, allocations: 0 / 2.755 GB, free: 81.34 MB / 0.6823 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003103/5.973, allocations: 209.1 kB / 2.755 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/5.973, allocations: 7.953 kB / 2.755 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/5.973, allocations: 0 / 2.755 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/5.973, allocations: 4.094 kB / 2.755 GB, free: 81.11 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/5.974, allocations: 51.91 kB / 2.755 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/5.974, allocations: 0 / 2.755 GB, free: 81.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/5.974, allocations: 39.67 kB / 2.756 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/5.974, allocations: 16 kB / 2.756 GB, free: 81.01 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 (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 8.279e-05/5.974, allocations: 116.9 kB / 2.756 GB, free: 80.89 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.41e-05/5.974, allocations: 23.72 kB / 2.756 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/5.974, allocations: 186.1 kB / 2.756 GB, free: 80.67 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/5.974, allocations: 4.094 kB / 2.756 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/5.974, allocations: 0 / 2.756 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/5.974, allocations: 7.969 kB / 2.756 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008412/5.975, allocations: 0.6328 MB / 2.756 GB, free: 79.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/5.975, allocations: 0 / 2.756 GB, free: 79.95 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/5.975, allocations: 35.97 kB / 2.757 GB, free: 79.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.034e-06/5.975, allocations: 4 kB / 2.757 GB, free: 79.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/5.976, allocations: 8.219 kB / 2.757 GB, free: 79.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/5.976, allocations: 4 kB / 2.757 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/5.976, allocations: 7.938 kB / 2.757 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004341/5.976, allocations: 451.4 kB / 2.757 GB, free: 79.37 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/5.976, allocations: 132.7 kB / 2.757 GB, free: 79.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.965e-05/5.976, allocations: 0 / 2.757 GB, free: 79.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/5.976, allocations: 24.05 kB / 2.757 GB, free: 79.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/5.976, allocations: 19.88 kB / 2.757 GB, free: 79.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/5.976, allocations: 4 kB / 2.757 GB, free: 79.17 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000201/5.977, allocations: 230.2 kB / 2.757 GB, free: 78.95 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.81e-07/5.977, allocations: 3.938 kB / 2.757 GB, free: 78.95 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008384/5.978, allocations: 164 kB / 2.758 GB, free: 78.79 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 (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.002542/5.98, allocations: 2.404 MB / 2.76 GB, free: 76.31 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002795/5.98, allocations: 136 kB / 2.76 GB, free: 76.18 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/5.98, allocations: 0 / 2.76 GB, free: 76.18 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/5.981, allocations: 67.86 kB / 2.76 GB, free: 76.11 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008526/5.981, allocations: 154 kB / 2.76 GB, free: 75.97 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/5.983, allocations: 0.518 MB / 2.761 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/5.983, allocations: 0.7799 MB / 2.761 GB, free: 74.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002663/5.983, allocations: 62.92 kB / 2.762 GB, free: 74.53 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/5.983, allocations: 91.41 kB / 2.762 GB, free: 74.44 MB / 0.6823 GB Notification: Performance of SimCode: time 7.82e-07/5.983, allocations: 0 / 2.762 GB, free: 74.44 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05637/6.04, allocations: 27.18 MB / 2.788 GB, free: 47.41 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002232/6.04, allocations: 182.2 kB / 2.788 GB, free: 47.19 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.886/8.926, allocations: 0 / 2.788 GB, free: 47.19 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)