Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6816/0.6816, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001028, allocations: 184.1 kB / 187.3 MB, free: 11.87 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0008309/0.0008309, allocations: 99.02 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001651/0.001651, allocations: 278.6 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.1e-05/3.102e-05, allocations: 7.984 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3395, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.26/3.599, allocations: 1.867 GB / 2.631 GB, free: 181.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/3.599, allocations: 83.95 kB / 2.631 GB, free: 181.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7341/4.333, allocations: 246.8 MB / 2.872 GB, free: 202.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.272e-06/4.333, allocations: 0 / 2.872 GB, free: 202.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.782e-05/4.333, allocations: 11.73 kB / 2.872 GB, free: 202.2 MB / 0.698 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.0008543/4.334, allocations: 0.6307 MB / 2.873 GB, free: 201.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/4.334, allocations: 7.5 kB / 2.873 GB, free: 201.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.619e-05/4.334, allocations: 67.09 kB / 2.873 GB, free: 201.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/4.336, allocations: 146.1 kB / 2.873 GB, free: 201.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/4.336, allocations: 318.4 kB / 2.873 GB, free: 201.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/4.336, allocations: 20.22 kB / 2.873 GB, free: 201.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/4.336, allocations: 23.44 kB / 2.873 GB, free: 201.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/4.336, allocations: 253.6 kB / 2.873 GB, free: 201.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/4.336, allocations: 5.453 kB / 2.873 GB, free: 201.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/4.336, allocations: 8 kB / 2.873 GB, free: 201.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/4.336, allocations: 6.438 kB / 2.873 GB, free: 201.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/4.337, allocations: 154.3 kB / 2.874 GB, free: 201.3 MB / 0.698 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.001081/4.338, allocations: 1.215 MB / 2.875 GB, free: 200.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/4.338, allocations: 111 kB / 2.875 GB, free: 200.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.307e-05/4.338, allocations: 73.19 kB / 2.875 GB, free: 200.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003928/4.338, allocations: 297.4 kB / 2.875 GB, free: 199.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.41e-05/4.338, allocations: 38.06 kB / 2.875 GB, free: 199.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.924e-06/4.338, allocations: 0 / 2.875 GB, free: 199.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0004034/4.339, allocations: 172.1 kB / 2.875 GB, free: 199.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/4.339, allocations: 55.25 kB / 2.875 GB, free: 199.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/4.339, allocations: 277 kB / 2.876 GB, free: 199.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/4.339, allocations: 29.7 kB / 2.876 GB, free: 199.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.147e-05/4.339, allocations: 188.5 kB / 2.876 GB, free: 199.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/4.339, allocations: 51.2 kB / 2.876 GB, free: 199.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/4.339, allocations: 4 kB / 2.876 GB, free: 199.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.647e-05/4.339, allocations: 344.5 kB / 2.876 GB, free: 199.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.245e-05/4.339, allocations: 45.73 kB / 2.876 GB, free: 199.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/4.34, allocations: 117.6 kB / 2.876 GB, free: 199 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.145e-05/4.34, allocations: 59.69 kB / 2.877 GB, free: 199 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/4.34, allocations: 3.953 kB / 2.877 GB, free: 199 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002557/4.34, allocations: 203.3 kB / 2.877 GB, free: 198.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/4.34, allocations: 7.719 kB / 2.877 GB, free: 198.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/4.34, allocations: 5.969 kB / 2.877 GB, free: 198.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/4.34, allocations: 3.625 kB / 2.877 GB, free: 198.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/4.34, allocations: 47.59 kB / 2.877 GB, free: 198.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/4.34, allocations: 3.875 kB / 2.877 GB, free: 198.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/4.34, allocations: 32.2 kB / 2.877 GB, free: 198.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/4.34, allocations: 23 kB / 2.877 GB, free: 198.9 MB / 0.698 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 5.475e-05/4.341, allocations: 111 kB / 2.877 GB, free: 198.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.16e-05/4.341, allocations: 32.55 kB / 2.877 GB, free: 198.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002713/4.341, allocations: 196.6 kB / 2.877 GB, free: 198.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/4.341, allocations: 0 / 2.877 GB, free: 198.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/4.341, allocations: 0 / 2.877 GB, free: 198.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/4.341, allocations: 0 / 2.877 GB, free: 198.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006483/4.342, allocations: 0.6323 MB / 2.878 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/4.342, allocations: 0 / 2.878 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/4.342, allocations: 41.3 kB / 2.878 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/4.342, allocations: 4.438 kB / 2.878 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/4.342, allocations: 7.234 kB / 2.878 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/4.342, allocations: 5.484 kB / 2.878 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/4.342, allocations: 4.344 kB / 2.878 GB, free: 198.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/4.342, allocations: 459.6 kB / 2.878 GB, free: 197.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-05/4.342, allocations: 117.2 kB / 2.878 GB, free: 197.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/4.342, allocations: 7.578 kB / 2.878 GB, free: 197.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/4.342, allocations: 24.84 kB / 2.878 GB, free: 197.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/4.342, allocations: 16.78 kB / 2.878 GB, free: 197.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/4.342, allocations: 13.62 kB / 2.878 GB, free: 197.7 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000149/4.343, allocations: 218.8 kB / 2.879 GB, free: 197.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/4.343, allocations: 0 / 2.879 GB, free: 197.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005884/4.343, allocations: 179.7 kB / 2.879 GB, free: 197.5 MB / 0.698 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.001612/4.345, allocations: 2.401 MB / 2.881 GB, free: 195.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002257/4.345, allocations: 131.9 kB / 2.881 GB, free: 195.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/4.345, allocations: 0 / 2.881 GB, free: 195.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.409e-05/4.345, allocations: 69.7 kB / 2.881 GB, free: 195.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000723/4.346, allocations: 161.8 kB / 2.882 GB, free: 195.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000847/4.347, allocations: 0.5134 MB / 2.882 GB, free: 195.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/4.347, allocations: 0.7842 MB / 2.883 GB, free: 194.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001931/4.347, allocations: 64.62 kB / 2.883 GB, free: 194.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/4.347, allocations: 90.84 kB / 2.883 GB, free: 194.5 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/4.347, allocations: 0 / 2.883 GB, free: 194.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.041/4.388, allocations: 27.2 MB / 2.909 GB, free: 169.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001387/4.389, allocations: 199.4 kB / 2.91 GB, free: 169.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.565/6.954, allocations: 0 / 2.91 GB, free: 169.4 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)