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.8522/0.8522, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001381/0.001381, allocations: 180.9 kB / 182.2 MB, free: 9.461 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.51/1.51, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0009404/0.0009405, allocations: 96.03 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00168/0.00168, allocations: 281.3 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.197e-05/2.199e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4081, allocations: 82.78 MB / 0.7575 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.306/4.714, allocations: 1.866 GB / 2.623 GB, free: 152.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/4.715, allocations: 83.02 kB / 2.623 GB, free: 152.5 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.8744/5.589, allocations: 243.7 MB / 2.861 GB, free: 196.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.824e-06/5.589, allocations: 0 / 2.861 GB, free: 196.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.741e-05/5.589, allocations: 11.59 kB / 2.861 GB, free: 196.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.001061/5.59, allocations: 0.6355 MB / 2.862 GB, free: 195.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/5.59, allocations: 12.03 kB / 2.862 GB, free: 195.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/5.591, allocations: 147.4 kB / 2.862 GB, free: 195.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/5.592, allocations: 325.9 kB / 2.863 GB, free: 195.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/5.592, allocations: 8 kB / 2.863 GB, free: 195.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/5.592, allocations: 12 kB / 2.863 GB, free: 195 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002533/5.592, allocations: 140.8 kB / 2.863 GB, free: 194.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/5.592, allocations: 227.8 kB / 2.863 GB, free: 194.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/5.592, allocations: 0 / 2.863 GB, free: 194.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/5.592, allocations: 0 / 2.863 GB, free: 194.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/5.593, allocations: 8 kB / 2.863 GB, free: 194.6 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.001156/5.594, allocations: 1.15 MB / 2.864 GB, free: 193.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/5.594, allocations: 106.5 kB / 2.864 GB, free: 193.3 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.85e-05/5.594, allocations: 68.84 kB / 2.864 GB, free: 193.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004244/5.594, allocations: 302.4 kB / 2.864 GB, free: 192.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.395e-05/5.594, allocations: 30.56 kB / 2.864 GB, free: 192.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/5.594, allocations: 4 kB / 2.865 GB, free: 192.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0005535/5.595, allocations: 197.9 kB / 2.865 GB, free: 192.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/5.595, allocations: 51.41 kB / 2.865 GB, free: 192.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/5.595, allocations: 206.6 kB / 2.865 GB, free: 192.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/5.595, allocations: 25.7 kB / 2.865 GB, free: 192.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/5.595, allocations: 184.1 kB / 2.865 GB, free: 192.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/5.595, allocations: 55.2 kB / 2.865 GB, free: 192.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-06/5.595, allocations: 0 / 2.865 GB, free: 192.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.878e-05/5.595, allocations: 338.8 kB / 2.866 GB, free: 191.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.616e-05/5.595, allocations: 44.31 kB / 2.866 GB, free: 191.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.332e-05/5.596, allocations: 99.41 kB / 2.866 GB, free: 191.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/5.596, allocations: 94.17 kB / 2.866 GB, free: 191.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/5.596, allocations: 0 / 2.866 GB, free: 191.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003439/5.596, allocations: 225.1 kB / 2.866 GB, free: 191.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/5.596, allocations: 4 kB / 2.866 GB, free: 191.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/5.596, allocations: 0 / 2.866 GB, free: 191.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/5.596, allocations: 4 kB / 2.866 GB, free: 191.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/5.596, allocations: 47.91 kB / 2.866 GB, free: 191.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/5.596, allocations: 4.094 kB / 2.866 GB, free: 191.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/5.597, allocations: 27.83 kB / 2.866 GB, free: 191.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/5.597, allocations: 12 kB / 2.866 GB, free: 191.2 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 6.438e-05/5.597, allocations: 101 kB / 2.866 GB, free: 191.1 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000294/5.597, allocations: 179.3 kB / 2.866 GB, free: 190.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/5.597, allocations: 23.72 kB / 2.866 GB, free: 190.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/5.597, allocations: 199.5 kB / 2.867 GB, free: 190.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/5.597, allocations: 0 / 2.867 GB, free: 190.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/5.597, allocations: 0 / 2.867 GB, free: 190.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/5.597, allocations: 3.828 kB / 2.867 GB, free: 190.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007991/5.598, allocations: 0.6173 MB / 2.867 GB, free: 190 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/5.598, allocations: 4 kB / 2.867 GB, free: 190 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/5.598, allocations: 36.02 kB / 2.867 GB, free: 190 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/5.598, allocations: 3.984 kB / 2.867 GB, free: 190 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/5.598, allocations: 4 kB / 2.867 GB, free: 190 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/5.598, allocations: 4 kB / 2.867 GB, free: 189.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/5.598, allocations: 4.281 kB / 2.867 GB, free: 189.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/5.599, allocations: 474.3 kB / 2.868 GB, free: 189.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.68e-05/5.599, allocations: 116.8 kB / 2.868 GB, free: 189.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/5.599, allocations: 3.938 kB / 2.868 GB, free: 189.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/5.599, allocations: 20.05 kB / 2.868 GB, free: 189.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/5.599, allocations: 15.94 kB / 2.868 GB, free: 189.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/5.599, allocations: 8 kB / 2.868 GB, free: 189.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001229/5.6, allocations: 162 kB / 2.868 GB, free: 189.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.483e-06/5.6, allocations: 0 / 2.868 GB, free: 189.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006018/5.6, allocations: 162.8 kB / 2.868 GB, free: 188.9 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.00227/5.602, allocations: 2.547 MB / 2.871 GB, free: 186.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002376/5.603, allocations: 115.9 kB / 2.871 GB, free: 186.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/5.603, allocations: 3.938 kB / 2.871 GB, free: 186.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.428e-05/5.603, allocations: 63.91 kB / 2.871 GB, free: 186.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006734/5.604, allocations: 110.6 kB / 2.871 GB, free: 186.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009563/5.604, allocations: 0.4891 MB / 2.871 GB, free: 185.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/5.605, allocations: 0.7835 MB / 2.872 GB, free: 184.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001809/5.605, allocations: 54.03 kB / 2.872 GB, free: 184.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/5.605, allocations: 87.41 kB / 2.872 GB, free: 184.6 MB / 0.698 GB Notification: Performance of SimCode: time 6.91e-07/5.605, allocations: 0 / 2.872 GB, free: 184.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/5.642, allocations: 14.25 MB / 2.886 GB, free: 170.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/5.642, allocations: 182.9 kB / 2.886 GB, free: 170.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/8.122, allocations: 0 / 2.886 GB, free: 170.3 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)