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.902/0.902, allocations: 143.3 MB / 158.3 MB, free: 5.816 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 187.7 kB / 191.5 MB, free: 5.781 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.739/1.739, allocations: 223.2 MB / 447.7 MB, free: 4.82 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.001148/0.001148, allocations: 93.98 kB / 0.5187 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002054/0.002054, allocations: 276.6 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004598, allocations: 13.53 kB / 0.6929 GB, free: 59.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2154, allocations: 82.79 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.126/5.342, allocations: 1.867 GB / 2.64 GB, free: 212.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/5.342, allocations: 90.97 kB / 2.64 GB, free: 212.1 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.045/6.387, allocations: 247 MB / 2.882 GB, free: 199.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.793e-06/6.387, allocations: 0 / 2.882 GB, free: 199.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.231e-05/6.387, allocations: 8.625 kB / 2.882 GB, free: 199.6 MB / 0.7136 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.00198/6.389, allocations: 0.6904 MB / 2.882 GB, free: 199.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/6.389, allocations: 15.03 kB / 2.882 GB, free: 199.2 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/6.389, allocations: 57.17 kB / 2.882 GB, free: 199.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001286/6.391, allocations: 150.8 kB / 2.883 GB, free: 199.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/6.391, allocations: 312.2 kB / 2.883 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/6.391, allocations: 19.53 kB / 2.883 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.625e-05/6.391, allocations: 21.28 kB / 2.883 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004873/6.392, allocations: 272.6 kB / 2.883 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/6.392, allocations: 5 kB / 2.883 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/6.392, allocations: 10.41 kB / 2.883 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/6.392, allocations: 7.125 kB / 2.883 GB, free: 198.9 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000428/6.392, allocations: 198.3 kB / 2.883 GB, free: 198.9 MB / 0.7136 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.001558/6.394, allocations: 1.208 MB / 2.885 GB, free: 198.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/6.394, allocations: 132.6 kB / 2.885 GB, free: 198 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005055/6.395, allocations: 302.5 kB / 2.885 GB, free: 197.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/6.395, allocations: 33.56 kB / 2.885 GB, free: 197.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 2.976e-06/6.395, allocations: 0 / 2.885 GB, free: 197.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.00084/6.396, allocations: 278.7 kB / 2.885 GB, free: 197.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/6.396, allocations: 55.28 kB / 2.885 GB, free: 197.6 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/6.396, allocations: 278.4 kB / 2.886 GB, free: 197.5 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/6.396, allocations: 28.77 kB / 2.886 GB, free: 197.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/6.396, allocations: 181.9 kB / 2.886 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.668e-05/6.396, allocations: 56.91 kB / 2.886 GB, free: 197.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/6.396, allocations: 0 / 2.886 GB, free: 197.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/6.396, allocations: 344.1 kB / 2.886 GB, free: 197 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001527/6.397, allocations: 64.09 kB / 2.886 GB, free: 197 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/6.397, allocations: 128.7 kB / 2.886 GB, free: 197 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001673/6.397, allocations: 88.53 kB / 2.886 GB, free: 197 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/6.397, allocations: 0 / 2.886 GB, free: 197 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004282/6.397, allocations: 249.3 kB / 2.887 GB, free: 196.9 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/6.397, allocations: 3.312 kB / 2.887 GB, free: 196.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/6.397, allocations: 3.438 kB / 2.887 GB, free: 196.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/6.397, allocations: 2.656 kB / 2.887 GB, free: 196.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/6.398, allocations: 49.3 kB / 2.887 GB, free: 196.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/6.398, allocations: 1.594 kB / 2.887 GB, free: 196.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002711/6.398, allocations: 45.33 kB / 2.887 GB, free: 196.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/6.398, allocations: 10.33 kB / 2.887 GB, free: 196.9 MB / 0.7136 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.0001497/6.398, allocations: 154.9 kB / 2.887 GB, free: 196.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/6.398, allocations: 30.55 kB / 2.887 GB, free: 196.8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004452/6.399, allocations: 224.1 kB / 2.887 GB, free: 196.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/6.399, allocations: 3.938 kB / 2.887 GB, free: 196.7 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/6.399, allocations: 0 / 2.887 GB, free: 196.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/6.399, allocations: 0 / 2.887 GB, free: 196.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009941/6.4, allocations: 0.6713 MB / 2.888 GB, free: 196.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/6.4, allocations: 0 / 2.888 GB, free: 196.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/6.4, allocations: 38.27 kB / 2.888 GB, free: 196.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/6.4, allocations: 7.406 kB / 2.888 GB, free: 196.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/6.4, allocations: 6.438 kB / 2.888 GB, free: 196.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/6.4, allocations: 3.469 kB / 2.888 GB, free: 196.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/6.4, allocations: 3.875 kB / 2.888 GB, free: 196.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006588/6.401, allocations: 0.4961 MB / 2.888 GB, free: 196.1 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/6.401, allocations: 124.4 kB / 2.889 GB, free: 195.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.203e-05/6.401, allocations: 0 / 2.889 GB, free: 195.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/6.401, allocations: 21.53 kB / 2.889 GB, free: 195.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/6.401, allocations: 23.59 kB / 2.889 GB, free: 195.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/6.401, allocations: 3.938 kB / 2.889 GB, free: 195.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001978/6.401, allocations: 223 kB / 2.889 GB, free: 195.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.5e-07/6.401, allocations: 3.375 kB / 2.889 GB, free: 195.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007912/6.402, allocations: 175.8 kB / 2.889 GB, free: 195.9 MB / 0.7136 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.00307/6.405, allocations: 2.463 MB / 2.891 GB, free: 194.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005718/6.406, allocations: 174.3 kB / 2.892 GB, free: 194.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/6.406, allocations: 0 / 2.892 GB, free: 194.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/6.406, allocations: 88.14 kB / 2.892 GB, free: 194.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/6.407, allocations: 152.4 kB / 2.892 GB, free: 194.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003819/6.411, allocations: 2.482 MB / 2.894 GB, free: 192.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/6.411, allocations: 0.7847 MB / 2.895 GB, free: 192.2 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003751/6.412, allocations: 59.67 kB / 2.895 GB, free: 192.2 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/6.412, allocations: 92.22 kB / 2.895 GB, free: 192.2 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/6.412, allocations: 0 / 2.895 GB, free: 192.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0546/6.467, allocations: 24.3 MB / 2.919 GB, free: 191.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001618/6.467, allocations: 222.3 kB / 2.919 GB, free: 191 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.82/9.287, allocations: 0 / 2.919 GB, free: 191 MB / 0.7136 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)