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.001349/0.001349, allocations: 182.9 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4884/0.4884, allocations: 91.98 MB / 108.5 MB, free: 13.05 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.42/1.42, allocations: 223.2 MB / 354.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008948/0.0008945, allocations: 95.31 kB / 427.4 MB, free: 3.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003731, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1685, allocations: 72.31 MB / 0.5689 GB, free: 1.832 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.451/5.62, allocations: 1.86 GB / 2.429 GB, free: 24.18 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000414/5.621, allocations: 87.95 kB / 2.429 GB, free: 24.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.02/6.641, allocations: 247 MB / 2.67 GB, free: 19.77 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.695e-06/6.641, allocations: 0 / 2.67 GB, free: 19.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.387e-05/6.641, allocations: 15.94 kB / 2.67 GB, free: 19.75 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.001551/6.642, allocations: 0.6863 MB / 2.671 GB, free: 19.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/6.642, allocations: 12.03 kB / 2.671 GB, free: 19 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.644e-05/6.642, allocations: 54.55 kB / 2.671 GB, free: 18.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/6.644, allocations: 151.4 kB / 2.671 GB, free: 18.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/6.644, allocations: 313.8 kB / 2.671 GB, free: 18.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/6.644, allocations: 20.44 kB / 2.671 GB, free: 18.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.52e-05/6.644, allocations: 24 kB / 2.671 GB, free: 18.4 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/6.645, allocations: 267.5 kB / 2.671 GB, free: 18.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/6.645, allocations: 0 / 2.671 GB, free: 18.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/6.645, allocations: 12 kB / 2.671 GB, free: 18.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/6.645, allocations: 7.938 kB / 2.671 GB, free: 18.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003902/6.645, allocations: 215.6 kB / 2.672 GB, free: 17.89 MB / 0.6042 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.001479/6.647, allocations: 1.209 MB / 2.673 GB, free: 16.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/6.647, allocations: 122.5 kB / 2.673 GB, free: 16.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005325/6.647, allocations: 307.2 kB / 2.673 GB, free: 16.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/6.648, allocations: 30.56 kB / 2.673 GB, free: 16.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/6.648, allocations: 4 kB / 2.673 GB, free: 16.05 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0008264/6.648, allocations: 267.8 kB / 2.673 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/6.648, allocations: 51.69 kB / 2.673 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/6.649, allocations: 287.5 kB / 2.674 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/6.649, allocations: 33.7 kB / 2.674 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/6.649, allocations: 180.2 kB / 2.674 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/6.649, allocations: 51.27 kB / 2.674 GB, free: 15.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-06/6.649, allocations: 4 kB / 2.674 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001915/6.649, allocations: 342.8 kB / 2.674 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/6.649, allocations: 64.33 kB / 2.674 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/6.65, allocations: 131.5 kB / 2.675 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/6.65, allocations: 87.47 kB / 2.675 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/6.65, allocations: 0 / 2.675 GB, free: 14.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004457/6.65, allocations: 244.6 kB / 2.675 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/6.65, allocations: 4 kB / 2.675 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/6.65, allocations: 4 kB / 2.675 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.377e-05/6.65, allocations: 0 / 2.675 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/6.651, allocations: 47.91 kB / 2.675 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/6.651, allocations: 4 kB / 2.675 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002686/6.651, allocations: 43.73 kB / 2.675 GB, free: 14.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.323e-05/6.651, allocations: 8 kB / 2.675 GB, free: 14.17 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 () * 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.0001817/6.651, allocations: 156.5 kB / 2.675 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.192e-05/6.651, allocations: 31.62 kB / 2.675 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004766/6.652, allocations: 216.3 kB / 2.675 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/6.652, allocations: 0 / 2.675 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/6.652, allocations: 0 / 2.675 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/6.652, allocations: 4 kB / 2.675 GB, free: 13.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/6.653, allocations: 0.6755 MB / 2.676 GB, free: 13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/6.653, allocations: 4 kB / 2.676 GB, free: 13 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/6.653, allocations: 36.2 kB / 2.676 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/6.653, allocations: 0 / 2.676 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.954e-05/6.653, allocations: 8 kB / 2.676 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.555e-06/6.653, allocations: 11.92 kB / 2.676 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/6.653, allocations: 4 kB / 2.676 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007624/6.654, allocations: 0.497 MB / 2.677 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/6.654, allocations: 116.9 kB / 2.677 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.083e-05/6.654, allocations: 12.06 kB / 2.677 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002006/6.654, allocations: 27.81 kB / 2.677 GB, free: 12.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/6.654, allocations: 11.98 kB / 2.677 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/6.654, allocations: 8 kB / 2.677 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002224/6.655, allocations: 227 kB / 2.677 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/6.655, allocations: 0 / 2.677 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009539/6.656, allocations: 175.8 kB / 2.677 GB, free: 11.78 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 () * 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.003114/6.659, allocations: 2.45 MB / 2.68 GB, free: 9.258 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004739/6.659, allocations: 171.9 kB / 2.68 GB, free: 9.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/6.659, allocations: 4.375 kB / 2.68 GB, free: 9.086 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/6.659, allocations: 79.89 kB / 2.68 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008203/6.66, allocations: 153.4 kB / 2.68 GB, free: 8.855 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/6.663, allocations: 2.484 MB / 2.682 GB, free: 6.273 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/6.664, allocations: 0.7877 MB / 2.683 GB, free: 5.461 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002485/6.664, allocations: 66.92 kB / 2.683 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/6.664, allocations: 87.41 kB / 2.683 GB, free: 5.312 MB / 0.6042 GB Notification: Performance of SimCode: time 7.61e-07/6.664, allocations: 0 / 2.683 GB, free: 5.312 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4849/7.149, allocations: 24.27 MB / 2.707 GB, free: 143.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/7.149, allocations: 210.5 kB / 2.707 GB, free: 143.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.86/10.01, allocations: 0 / 2.707 GB, free: 143.2 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)