Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.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.Velocity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity",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.7765/0.7765, allocations: 128.7 MB / 143.7 MB, free: 2.281 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001348/0.001349, allocations: 178.3 kB / 173.7 MB, free: 6.113 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.914/1.914, allocations: 205.4 MB / 409 MB, free: 10.48 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.0009534/0.0009536, allocations: 95.92 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003567, allocations: 12.62 kB / 0.5604 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1796, allocations: 76.77 MB / 0.6354 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.499/5.678, allocations: 2.137 GB / 2.772 GB, free: 167.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/5.679, allocations: 91.92 kB / 2.772 GB, free: 167.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8495/6.528, allocations: 242.3 MB / 3.009 GB, free: 171 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.104e-06/6.528, allocations: 0 / 3.009 GB, free: 171 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.978e-05/6.528, allocations: 11.66 kB / 3.009 GB, free: 171 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00177/6.53, allocations: 0.6926 MB / 3.01 GB, free: 170.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/6.53, allocations: 11.5 kB / 3.01 GB, free: 170.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/6.53, allocations: 61.58 kB / 3.01 GB, free: 170.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/6.532, allocations: 144.9 kB / 3.01 GB, free: 170.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007315/6.532, allocations: 326.6 kB / 3.01 GB, free: 170.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/6.532, allocations: 19.94 kB / 3.01 GB, free: 170.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.075e-05/6.532, allocations: 23.53 kB / 3.01 GB, free: 170.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006646/6.533, allocations: 272 kB / 3.01 GB, free: 170.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/6.533, allocations: 3.953 kB / 3.01 GB, free: 170.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/6.533, allocations: 12.5 kB / 3.01 GB, free: 170.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/6.533, allocations: 7.031 kB / 3.01 GB, free: 170.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/6.534, allocations: 208.7 kB / 3.011 GB, free: 170.2 MB / 0.6511 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.001751/6.535, allocations: 1.054 MB / 3.012 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/6.536, allocations: 153.8 kB / 3.012 GB, free: 169.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005498/6.536, allocations: 304.2 kB / 3.012 GB, free: 169.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/6.536, allocations: 36.38 kB / 3.012 GB, free: 169.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 2.324e-06/6.536, allocations: 0 / 3.012 GB, free: 169.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0009288/6.537, allocations: 278.4 kB / 3.012 GB, free: 169.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/6.537, allocations: 55.36 kB / 3.012 GB, free: 169.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/6.538, allocations: 286.7 kB / 3.013 GB, free: 169 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/6.538, allocations: 29.64 kB / 3.013 GB, free: 168.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/6.538, allocations: 188.4 kB / 3.013 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/6.538, allocations: 55.09 kB / 3.013 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.038e-05/6.538, allocations: 3.812 kB / 3.013 GB, free: 168.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001146/6.538, allocations: 343.1 kB / 3.013 GB, free: 168.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/6.538, allocations: 64.03 kB / 3.013 GB, free: 168.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/6.539, allocations: 122.7 kB / 3.013 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/6.539, allocations: 84.22 kB / 3.013 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/6.539, allocations: 0 / 3.013 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005071/6.539, allocations: 259.2 kB / 3.014 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/6.539, allocations: 3.812 kB / 3.014 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/6.539, allocations: 3.688 kB / 3.014 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/6.539, allocations: 2.734 kB / 3.014 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/6.54, allocations: 41.42 kB / 3.014 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/6.54, allocations: 3.797 kB / 3.014 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/6.54, allocations: 51.7 kB / 3.014 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/6.54, allocations: 11.69 kB / 3.014 GB, free: 168.4 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001833/6.54, allocations: 140.1 kB / 3.014 GB, free: 168.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/6.54, allocations: 30.88 kB / 3.014 GB, free: 168.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005137/6.541, allocations: 229.4 kB / 3.014 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/6.541, allocations: 0 / 3.014 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/6.541, allocations: 0 / 3.014 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/6.541, allocations: 3.062 kB / 3.014 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/6.542, allocations: 0.681 MB / 3.015 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/6.542, allocations: 2.375 kB / 3.015 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001865/6.542, allocations: 40.45 kB / 3.015 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/6.542, allocations: 7.828 kB / 3.015 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/6.542, allocations: 7.656 kB / 3.015 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/6.542, allocations: 0 / 3.015 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/6.542, allocations: 3.375 kB / 3.015 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007249/6.543, allocations: 493.9 kB / 3.015 GB, free: 167.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/6.543, allocations: 111.1 kB / 3.016 GB, free: 167.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.284e-05/6.543, allocations: 15.06 kB / 3.016 GB, free: 167.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/6.543, allocations: 19.14 kB / 3.016 GB, free: 167.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/6.543, allocations: 13.44 kB / 3.016 GB, free: 167.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/6.543, allocations: 14.94 kB / 3.016 GB, free: 167.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002398/6.544, allocations: 228 kB / 3.016 GB, free: 167.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/6.544, allocations: 0 / 3.016 GB, free: 167.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008489/6.545, allocations: 174.8 kB / 3.016 GB, free: 167.4 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.002874/6.547, allocations: 2.398 MB / 3.018 GB, free: 166 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004232/6.548, allocations: 173.6 kB / 3.018 GB, free: 166 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/6.548, allocations: 3.969 kB / 3.018 GB, free: 166 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/6.548, allocations: 87.91 kB / 3.019 GB, free: 166 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00081/6.549, allocations: 150.9 kB / 3.019 GB, free: 166 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/6.552, allocations: 2.398 MB / 3.021 GB, free: 164.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/6.552, allocations: 0.7855 MB / 3.022 GB, free: 164 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002556/6.552, allocations: 60.06 kB / 3.022 GB, free: 164 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/6.552, allocations: 95.78 kB / 3.022 GB, free: 164 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/6.552, allocations: 192 / 3.022 GB, free: 164 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04992/6.602, allocations: 24.51 MB / 3.046 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/6.602, allocations: 210 kB / 3.046 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/9.45, allocations: 0 / 3.046 GB, free: 157.8 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Velocity.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)