Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.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.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",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.001048/0.001048, allocations: 180.9 kB / 8.006 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5274/0.5274, allocations: 90.91 MB / 99.34 MB, free: 2.188 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.54/1.54, allocations: 221.5 MB / 343.2 MB, free: 1.602 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.001087/0.001087, allocations: 98.5 kB / 415.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.288e-05, allocations: 11.98 kB / 494.6 MB, free: 52.33 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1584, allocations: 72.31 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.581/4.739, allocations: 1.859 GB / 2.413 GB, free: 45.29 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/4.739, allocations: 82.64 kB / 2.413 GB, free: 45.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.8068/5.546, allocations: 243.8 MB / 2.651 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.342e-06/5.546, allocations: 0 / 2.651 GB, free: 49.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.485e-05/5.546, allocations: 15.92 kB / 2.651 GB, free: 49.61 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001012/5.547, allocations: 0.6385 MB / 2.652 GB, free: 48.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/5.547, allocations: 12.03 kB / 2.652 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/5.548, allocations: 156.7 kB / 2.652 GB, free: 48.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004454/5.549, allocations: 314.8 kB / 2.652 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/5.549, allocations: 8 kB / 2.652 GB, free: 48.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/5.549, allocations: 16 kB / 2.652 GB, free: 48.39 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002556/5.549, allocations: 153 kB / 2.652 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/5.55, allocations: 232.8 kB / 2.652 GB, free: 47.99 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/5.55, allocations: 4 kB / 2.652 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/5.55, allocations: 0 / 2.652 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.994e-06/5.55, allocations: 4 kB / 2.652 GB, free: 47.98 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.001073/5.551, allocations: 1.156 MB / 2.654 GB, free: 46.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/5.551, allocations: 114.4 kB / 2.654 GB, free: 46.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.558e-05/5.551, allocations: 72.84 kB / 2.654 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004478/5.551, allocations: 295.3 kB / 2.654 GB, free: 46.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/5.551, allocations: 34.56 kB / 2.654 GB, free: 46.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=17): time 2.154e-06/5.551, allocations: 0 / 2.654 GB, free: 46.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17): time 0.0006203/5.552, allocations: 209.5 kB / 2.654 GB, free: 45.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/5.552, allocations: 51.41 kB / 2.654 GB, free: 45.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/5.552, allocations: 218.3 kB / 2.654 GB, free: 45.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/5.552, allocations: 33.58 kB / 2.654 GB, free: 45.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/5.552, allocations: 192 kB / 2.655 GB, free: 45.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/5.552, allocations: 55.2 kB / 2.655 GB, free: 45.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.248e-06/5.552, allocations: 0 / 2.655 GB, free: 45.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.533e-05/5.553, allocations: 330.8 kB / 2.655 GB, free: 45.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.362e-05/5.553, allocations: 47.98 kB / 2.655 GB, free: 44.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/5.553, allocations: 106.9 kB / 2.655 GB, free: 44.86 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/5.553, allocations: 101.8 kB / 2.655 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/5.553, allocations: 0 / 2.655 GB, free: 44.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003779/5.553, allocations: 225.2 kB / 2.655 GB, free: 44.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/5.553, allocations: 13.08 kB / 2.656 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/5.553, allocations: 7.984 kB / 2.656 GB, free: 44.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.009e-05/5.553, allocations: 4 kB / 2.656 GB, free: 44.51 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/5.554, allocations: 47.91 kB / 2.656 GB, free: 44.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/5.554, allocations: 0 / 2.656 GB, free: 44.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/5.554, allocations: 35.73 kB / 2.656 GB, free: 44.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/5.554, allocations: 8 kB / 2.656 GB, free: 44.42 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 (24): * Single equations (assignments): 24 * 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 8.067e-05/5.554, allocations: 116.9 kB / 2.656 GB, free: 44.3 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003186/5.554, allocations: 178.7 kB / 2.656 GB, free: 44.12 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/5.554, allocations: 31.58 kB / 2.656 GB, free: 44.09 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003987/5.555, allocations: 203.4 kB / 2.656 GB, free: 43.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/5.555, allocations: 96 / 2.656 GB, free: 43.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/5.555, allocations: 3.984 kB / 2.656 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/5.555, allocations: 4 kB / 2.656 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008645/5.556, allocations: 0.6294 MB / 2.657 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/5.556, allocations: 4.281 kB / 2.657 GB, free: 43.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/5.556, allocations: 47.92 kB / 2.657 GB, free: 43.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/5.556, allocations: 0 / 2.657 GB, free: 43.13 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.585e-05/5.556, allocations: 4 kB / 2.657 GB, free: 43.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/5.556, allocations: 7.984 kB / 2.657 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/5.556, allocations: 0 / 2.657 GB, free: 43.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000512/5.557, allocations: 490.8 kB / 2.657 GB, free: 42.56 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.146e-05/5.557, allocations: 120.7 kB / 2.657 GB, free: 42.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/5.557, allocations: 4 kB / 2.657 GB, free: 42.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/5.557, allocations: 16.02 kB / 2.657 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/5.557, allocations: 27.88 kB / 2.657 GB, free: 42.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/5.557, allocations: 8 kB / 2.657 GB, free: 42.37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001135/5.557, allocations: 170 kB / 2.658 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/5.557, allocations: 0 / 2.658 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006724/5.558, allocations: 143.8 kB / 2.658 GB, free: 42.07 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 (17): * Single equations (assignments): 17 * 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.002174/5.56, allocations: 2.55 MB / 2.66 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002773/5.56, allocations: 131.8 kB / 2.66 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/5.56, allocations: 0 / 2.66 GB, free: 39.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.553e-05/5.56, allocations: 71.84 kB / 2.66 GB, free: 39.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006674/5.561, allocations: 116.4 kB / 2.661 GB, free: 39.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/5.562, allocations: 0.4978 MB / 2.661 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/5.562, allocations: 0.7912 MB / 2.662 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00019/5.563, allocations: 58.03 kB / 2.662 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/5.563, allocations: 87.41 kB / 2.662 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/5.563, allocations: 4 kB / 2.662 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03336/5.596, allocations: 14.41 MB / 2.676 GB, free: 23.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001433/5.596, allocations: 154.4 kB / 2.676 GB, free: 23.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/8.1, allocations: 4.031 kB / 2.676 GB, free: 23.06 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)