Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.707/0.707, allocations: 127.3 MB / 139.8 MB, free: 15.42 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001364/0.001364, allocations: 188.8 kB / 169.7 MB, free: 1.719 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.57/1.57, allocations: 205.1 MB / 404.5 MB, free: 1.574 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009349/0.0009352, allocations: 86.42 kB / 481.8 MB, free: 4.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.294e-05/4.331e-05, allocations: 8 kB / 0.5533 GB, free: 54.72 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1328, allocations: 76.76 MB / 0.6283 GB, free: 9.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.541/4.674, allocations: 2.136 GB / 2.765 GB, free: 192.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/4.674, allocations: 99.17 kB / 2.765 GB, free: 192.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8384/5.513, allocations: 241.9 MB / 3.001 GB, free: 168.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.332e-06/5.513, allocations: 0 / 3.001 GB, free: 168.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.233e-05/5.513, allocations: 10.89 kB / 3.001 GB, free: 168.9 MB / 0.6511 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.001279/5.514, allocations: 0.6325 MB / 3.002 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/5.514, allocations: 11.88 kB / 3.002 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.891e-05/5.514, allocations: 58.53 kB / 3.002 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/5.515, allocations: 149.9 kB / 3.002 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005264/5.516, allocations: 320.6 kB / 3.002 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/5.516, allocations: 26.7 kB / 3.002 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/5.516, allocations: 22.12 kB / 3.002 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003899/5.516, allocations: 239.3 kB / 3.002 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/5.516, allocations: 7.422 kB / 3.002 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/5.516, allocations: 9.375 kB / 3.002 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/5.516, allocations: 3.25 kB / 3.002 GB, free: 168.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/5.517, allocations: 162.7 kB / 3.003 GB, free: 168.1 MB / 0.6511 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.001242/5.518, allocations: 1.047 MB / 3.004 GB, free: 167.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/5.518, allocations: 131.5 kB / 3.004 GB, free: 167.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.25e-05/5.518, allocations: 64.56 kB / 3.004 GB, free: 167.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004313/5.519, allocations: 302.2 kB / 3.004 GB, free: 167.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.724e-05/5.519, allocations: 34.56 kB / 3.004 GB, free: 167.1 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 2.004e-06/5.519, allocations: 3.469 kB / 3.004 GB, free: 167.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0004594/5.519, allocations: 167.1 kB / 3.004 GB, free: 167 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/5.519, allocations: 58.64 kB / 3.004 GB, free: 167 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/5.519, allocations: 276.2 kB / 3.005 GB, free: 166.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/5.519, allocations: 29.08 kB / 3.005 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.841e-05/5.52, allocations: 183.9 kB / 3.005 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.622e-05/5.52, allocations: 46.3 kB / 3.005 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/5.52, allocations: 3.094 kB / 3.005 GB, free: 166.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.917e-05/5.52, allocations: 342.2 kB / 3.005 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.318e-05/5.52, allocations: 47.2 kB / 3.005 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/5.52, allocations: 100.9 kB / 3.005 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/5.52, allocations: 61.09 kB / 3.005 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/5.52, allocations: 2.688 kB / 3.005 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002807/5.52, allocations: 197.8 kB / 3.006 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/5.52, allocations: 3.625 kB / 3.006 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/5.52, allocations: 5.969 kB / 3.006 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/5.52, allocations: 0 / 3.006 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/5.521, allocations: 46.34 kB / 3.006 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/5.521, allocations: 0 / 3.006 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/5.521, allocations: 42.8 kB / 3.006 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/5.521, allocations: 12.41 kB / 3.006 GB, free: 166.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.483e-05/5.521, allocations: 112.6 kB / 3.006 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/5.521, allocations: 24.91 kB / 3.006 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/5.521, allocations: 182.6 kB / 3.006 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/5.521, allocations: 7.516 kB / 3.006 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/5.521, allocations: 0 / 3.006 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/5.521, allocations: 3.875 kB / 3.006 GB, free: 166.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007315/5.522, allocations: 0.6092 MB / 3.007 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/5.522, allocations: 5.406 kB / 3.007 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/5.522, allocations: 38.77 kB / 3.007 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/5.522, allocations: 7.891 kB / 3.007 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/5.522, allocations: 6.781 kB / 3.007 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/5.522, allocations: 3.188 kB / 3.007 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/5.522, allocations: 5.125 kB / 3.007 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/5.523, allocations: 434.8 kB / 3.007 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.117e-05/5.523, allocations: 105.3 kB / 3.007 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/5.523, allocations: 13.52 kB / 3.007 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/5.523, allocations: 20.47 kB / 3.007 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/5.523, allocations: 10.33 kB / 3.007 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/5.523, allocations: 10.38 kB / 3.007 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001784/5.523, allocations: 224.6 kB / 3.007 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/5.523, allocations: 0 / 3.007 GB, free: 165.3 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000685/5.524, allocations: 171.6 kB / 3.008 GB, free: 165.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 14 * 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.002096/5.526, allocations: 2.316 MB / 3.01 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002728/5.526, allocations: 129.7 kB / 3.01 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/5.526, allocations: 2.875 kB / 3.01 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/5.526, allocations: 65.72 kB / 3.01 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007663/5.527, allocations: 153 kB / 3.01 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009791/5.528, allocations: 0.51 MB / 3.011 GB, free: 163.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/5.528, allocations: 0.7807 MB / 3.011 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002384/5.529, allocations: 49.83 kB / 3.011 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/5.529, allocations: 90.48 kB / 3.012 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/5.529, allocations: 2.531 kB / 3.012 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04648/5.575, allocations: 27.23 MB / 3.038 GB, free: 158.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001521/5.576, allocations: 190.4 kB / 3.038 GB, free: 158.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.783/8.358, allocations: 3.031 kB / 3.038 GB, free: 158.2 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)