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.0009642/0.0009641, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4533/0.4533, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 221.3 MB / 348.3 MB, free: 460 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000945/0.0009451, allocations: 95.44 kB / 421.2 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.078e-05/3.081e-05, allocations: 8 kB / 0.4897 GB, free: 5.277 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3741, allocations: 72.31 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.789/4.163, allocations: 1.86 GB / 2.42 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/4.163, allocations: 83.95 kB / 2.42 GB, free: 167.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.7524/4.916, allocations: 246.8 MB / 2.661 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.773e-06/4.916, allocations: 0 / 2.661 GB, free: 156.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.489e-05/4.916, allocations: 18.44 kB / 2.661 GB, free: 156.5 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.0009628/4.917, allocations: 0.6385 MB / 2.662 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/4.917, allocations: 11.98 kB / 2.662 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.112e-05/4.917, allocations: 54.55 kB / 2.662 GB, free: 155.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/4.918, allocations: 149.2 kB / 2.662 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004083/4.918, allocations: 317.7 kB / 2.662 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.895e-05/4.918, allocations: 16.44 kB / 2.662 GB, free: 155.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/4.918, allocations: 27.95 kB / 2.662 GB, free: 155.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/4.919, allocations: 255.6 kB / 2.662 GB, free: 155 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/4.919, allocations: 3.391 kB / 2.662 GB, free: 155 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/4.919, allocations: 8 kB / 2.662 GB, free: 155 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/4.919, allocations: 7.938 kB / 2.662 GB, free: 155 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002199/4.919, allocations: 157.3 kB / 2.663 GB, free: 154.8 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.001056/4.92, allocations: 1.212 MB / 2.664 GB, free: 153.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/4.92, allocations: 107.7 kB / 2.664 GB, free: 153.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.105e-05/4.92, allocations: 72.78 kB / 2.664 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004157/4.921, allocations: 299.3 kB / 2.664 GB, free: 153 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/4.921, allocations: 30.56 kB / 2.664 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.212e-06/4.921, allocations: 4 kB / 2.664 GB, free: 152.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0003897/4.921, allocations: 182.6 kB / 2.664 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/4.921, allocations: 59.39 kB / 2.664 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/4.921, allocations: 270.7 kB / 2.665 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/4.921, allocations: 37.64 kB / 2.665 GB, free: 152.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/4.921, allocations: 179.5 kB / 2.665 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/4.921, allocations: 55.28 kB / 2.665 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/4.921, allocations: 0 / 2.665 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.876e-05/4.922, allocations: 342.8 kB / 2.665 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.49e-05/4.922, allocations: 48.36 kB / 2.665 GB, free: 151.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/4.922, allocations: 113.4 kB / 2.665 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.999e-05/4.922, allocations: 65.08 kB / 2.666 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/4.922, allocations: 0 / 2.666 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002469/4.922, allocations: 206.5 kB / 2.666 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/4.922, allocations: 4 kB / 2.666 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/4.922, allocations: 4 kB / 2.666 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/4.922, allocations: 0 / 2.666 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/4.922, allocations: 51.88 kB / 2.666 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/4.922, allocations: 8.094 kB / 2.666 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/4.923, allocations: 47.05 kB / 2.666 GB, free: 151.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/4.923, allocations: 8 kB / 2.666 GB, free: 151.2 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 5.263e-05/4.923, allocations: 116.9 kB / 2.666 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/4.923, allocations: 27.62 kB / 2.666 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/4.923, allocations: 182.1 kB / 2.666 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/4.923, allocations: 4 kB / 2.666 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/4.923, allocations: 3.953 kB / 2.666 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/4.923, allocations: 0 / 2.666 GB, free: 150.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006432/4.924, allocations: 0.6435 MB / 2.667 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/4.924, allocations: 0 / 2.667 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001512/4.924, allocations: 31.98 kB / 2.667 GB, free: 150.2 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/4.924, allocations: 7.984 kB / 2.667 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/4.924, allocations: 8 kB / 2.667 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/4.924, allocations: 3.938 kB / 2.667 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/4.924, allocations: 4 kB / 2.667 GB, free: 150.1 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/4.924, allocations: 455.6 kB / 2.667 GB, free: 149.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.193e-05/4.924, allocations: 124.6 kB / 2.667 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.104e-05/4.924, allocations: 8 kB / 2.667 GB, free: 149.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/4.925, allocations: 24.11 kB / 2.667 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/4.925, allocations: 11.98 kB / 2.667 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/4.925, allocations: 8 kB / 2.667 GB, free: 149.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001485/4.925, allocations: 226.1 kB / 2.668 GB, free: 149.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/4.925, allocations: 0 / 2.668 GB, free: 149.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005822/4.925, allocations: 171.9 kB / 2.668 GB, free: 149 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.00152/4.927, allocations: 2.404 MB / 2.67 GB, free: 146.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002136/4.927, allocations: 127.8 kB / 2.67 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/4.927, allocations: 0 / 2.67 GB, free: 146.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.052e-05/4.927, allocations: 68.36 kB / 2.67 GB, free: 146.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000712/4.928, allocations: 161.3 kB / 2.67 GB, free: 146.3 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007864/4.929, allocations: 0.5211 MB / 2.671 GB, free: 145.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/4.929, allocations: 0.7838 MB / 2.672 GB, free: 145 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001823/4.929, allocations: 62.92 kB / 2.672 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.921e-05/4.929, allocations: 87.41 kB / 2.672 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/4.929, allocations: 0 / 2.672 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03447/4.964, allocations: 27.17 MB / 2.698 GB, free: 117.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001332/4.964, allocations: 180.4 kB / 2.699 GB, free: 117.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.642/7.606, allocations: 4 kB / 2.699 GB, free: 117.6 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)