Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_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.001411/0.001411, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5499/0.5499, allocations: 90.91 MB / 99.34 MB, free: 2.176 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.648/1.648, allocations: 221.5 MB / 343.2 MB, free: 1.559 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008969/0.0008969, allocations: 95.27 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.885e-05/2.845e-05, allocations: 4 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1583, allocations: 72.31 MB / 0.5536 GB, free: 12.16 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.586/4.744, allocations: 1.859 GB / 2.413 GB, free: 44.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/4.744, allocations: 86.89 kB / 2.413 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.8419/5.586, allocations: 243.7 MB / 2.651 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.204e-06/5.586, allocations: 0 / 2.651 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.971e-05/5.587, allocations: 8 kB / 2.651 GB, free: 49.18 MB / 0.6042 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.001473/5.588, allocations: 0.6472 MB / 2.651 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/5.588, allocations: 8.031 kB / 2.651 GB, free: 48.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001272/5.589, allocations: 155.4 kB / 2.651 GB, free: 48.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/5.59, allocations: 317.8 kB / 2.652 GB, free: 47.97 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.501e-05/5.59, allocations: 12 kB / 2.652 GB, free: 47.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.268e-05/5.59, allocations: 12 kB / 2.652 GB, free: 47.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003398/5.59, allocations: 144.8 kB / 2.652 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/5.591, allocations: 218.7 kB / 2.652 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/5.591, allocations: 0 / 2.652 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/5.591, allocations: 0 / 2.652 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/5.591, allocations: 8 kB / 2.652 GB, free: 47.56 MB / 0.6042 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.00175/5.593, allocations: 1.143 MB / 2.653 GB, free: 46.33 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/5.593, allocations: 106.5 kB / 2.653 GB, free: 46.21 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.909e-05/5.593, allocations: 64.84 kB / 2.653 GB, free: 46.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005038/5.594, allocations: 295.3 kB / 2.654 GB, free: 45.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/5.594, allocations: 42.55 kB / 2.654 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 2.054e-06/5.594, allocations: 3.938 kB / 2.654 GB, free: 45.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0007306/5.594, allocations: 193.5 kB / 2.654 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/5.594, allocations: 55.41 kB / 2.654 GB, free: 45.49 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/5.595, allocations: 198.4 kB / 2.654 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/5.595, allocations: 25.7 kB / 2.654 GB, free: 45.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/5.595, allocations: 188 kB / 2.654 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.195e-05/5.595, allocations: 55.23 kB / 2.654 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-06/5.595, allocations: 4 kB / 2.654 GB, free: 45.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001041/5.595, allocations: 330.8 kB / 2.655 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.931e-05/5.595, allocations: 44.38 kB / 2.655 GB, free: 44.63 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/5.595, allocations: 105.1 kB / 2.655 GB, free: 44.51 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002764/5.595, allocations: 100.4 kB / 2.655 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/5.595, allocations: 0 / 2.655 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004118/5.596, allocations: 214 kB / 2.655 GB, free: 44.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/5.596, allocations: 4 kB / 2.655 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/5.596, allocations: 0 / 2.655 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/5.596, allocations: 4 kB / 2.655 GB, free: 44.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002328/5.596, allocations: 56 kB / 2.655 GB, free: 44.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/5.596, allocations: 0 / 2.655 GB, free: 44.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/5.597, allocations: 31.73 kB / 2.655 GB, free: 44.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/5.597, allocations: 8 kB / 2.655 GB, free: 44.09 MB / 0.6042 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 9.459e-05/5.597, allocations: 108.9 kB / 2.655 GB, free: 43.98 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003409/5.597, allocations: 177.2 kB / 2.656 GB, free: 43.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/5.597, allocations: 27.72 kB / 2.656 GB, free: 43.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004101/5.597, allocations: 193.6 kB / 2.656 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/5.597, allocations: 64 / 2.656 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/5.598, allocations: 4 kB / 2.656 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/5.598, allocations: 0 / 2.656 GB, free: 43.58 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009138/5.598, allocations: 0.6177 MB / 2.656 GB, free: 42.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/5.598, allocations: 4 kB / 2.656 GB, free: 42.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/5.599, allocations: 27.98 kB / 2.656 GB, free: 42.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/5.599, allocations: 4 kB / 2.656 GB, free: 42.86 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/5.599, allocations: 8 kB / 2.656 GB, free: 42.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.64e-06/5.599, allocations: 12.16 kB / 2.656 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/5.599, allocations: 0 / 2.656 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005747/5.599, allocations: 473 kB / 2.657 GB, free: 42.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/5.599, allocations: 112.7 kB / 2.657 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.622e-05/5.599, allocations: 8.062 kB / 2.657 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/5.6, allocations: 19.92 kB / 2.657 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/5.6, allocations: 19.94 kB / 2.657 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/5.6, allocations: 7.938 kB / 2.657 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001273/5.6, allocations: 162 kB / 2.657 GB, free: 41.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/5.6, allocations: 4 kB / 2.657 GB, free: 41.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006805/5.601, allocations: 151.8 kB / 2.657 GB, free: 41.8 MB / 0.6042 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.002789/5.603, allocations: 2.554 MB / 2.66 GB, free: 39.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002572/5.604, allocations: 127.8 kB / 2.66 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/5.604, allocations: 0 / 2.66 GB, free: 39.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.07e-05/5.604, allocations: 67.84 kB / 2.66 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007213/5.604, allocations: 105 kB / 2.66 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001079/5.606, allocations: 486 kB / 2.661 GB, free: 38.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/5.606, allocations: 0.7835 MB / 2.661 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002333/5.606, allocations: 54.03 kB / 2.661 GB, free: 37.49 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/5.606, allocations: 87.41 kB / 2.661 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of SimCode: time 5.91e-07/5.606, allocations: 0 / 2.661 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03978/5.646, allocations: 14.25 MB / 2.675 GB, free: 23.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/5.646, allocations: 161.9 kB / 2.676 GB, free: 23.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/7.858, allocations: 0 / 2.676 GB, free: 23.03 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)