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.7251/0.7251, allocations: 127.4 MB / 134.9 MB, free: 3.484 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.001273/0.001273, allocations: 180.6 kB / 164.7 MB, free: 11.58 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.523/1.523, allocations: 205.2 MB / 399.5 MB, free: 13.55 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.0009875/0.0009876, allocations: 108.8 kB / 476.7 MB, free: 1.508 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.335e-05/2.349e-05, allocations: 5 kB / 0.5467 GB, free: 95.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1517, allocations: 76.77 MB / 0.6216 GB, free: 43.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.182/5.334, allocations: 2.136 GB / 2.758 GB, free: 188.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/5.334, allocations: 89.2 kB / 2.758 GB, free: 188.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.4423/5.777, allocations: 239 MB / 2.991 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.763e-06/5.777, allocations: 0 / 2.991 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.739e-05/5.777, allocations: 15.98 kB / 2.991 GB, free: 12.79 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.001009/5.778, allocations: 0.6463 MB / 2.992 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/5.778, allocations: 8.031 kB / 2.992 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/5.779, allocations: 155.3 kB / 2.992 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/5.779, allocations: 322.8 kB / 2.992 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/5.779, allocations: 4 kB / 2.992 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/5.779, allocations: 16 kB / 2.992 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002527/5.78, allocations: 153.1 kB / 2.992 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/5.78, allocations: 215.2 kB / 2.993 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/5.78, allocations: 3.938 kB / 2.993 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/5.78, allocations: 0 / 2.993 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/5.78, allocations: 11.98 kB / 2.993 GB, free: 11.18 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.001031/5.781, allocations: 0.9895 MB / 2.993 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/5.781, allocations: 126.5 kB / 2.994 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.145e-05/5.781, allocations: 64.84 kB / 2.994 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004087/5.782, allocations: 299.3 kB / 2.994 GB, free: 9.555 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/5.782, allocations: 42.53 kB / 2.994 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/5.782, allocations: 0 / 2.994 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0005592/5.782, allocations: 200.4 kB / 2.994 GB, free: 9.305 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/5.782, allocations: 59.34 kB / 2.994 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001566/5.783, allocations: 206.6 kB / 2.994 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/5.783, allocations: 25.7 kB / 2.994 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/5.783, allocations: 192 kB / 2.995 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/5.783, allocations: 51.2 kB / 2.995 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-06/5.783, allocations: 0 / 2.995 GB, free: 8.754 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.585e-05/5.783, allocations: 342.8 kB / 2.995 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.897e-05/5.783, allocations: 47.98 kB / 2.995 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.481e-05/5.783, allocations: 98.95 kB / 2.995 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/5.783, allocations: 91.92 kB / 2.995 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/5.783, allocations: 0 / 2.995 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003389/5.784, allocations: 225.1 kB / 2.995 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/5.784, allocations: 8 kB / 2.995 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/5.784, allocations: 0 / 2.995 GB, free: 7.922 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/5.784, allocations: 4 kB / 2.995 GB, free: 7.918 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/5.784, allocations: 39.97 kB / 2.996 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/5.784, allocations: 7.938 kB / 2.996 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/5.784, allocations: 27.89 kB / 2.996 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.134e-05/5.784, allocations: 12 kB / 2.996 GB, free: 7.832 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 (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 6.727e-05/5.784, allocations: 112.9 kB / 2.996 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003007/5.784, allocations: 175.9 kB / 2.996 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/5.784, allocations: 23.72 kB / 2.996 GB, free: 7.516 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003781/5.785, allocations: 207.4 kB / 2.996 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/5.785, allocations: 0 / 2.996 GB, free: 7.309 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/5.785, allocations: 4 kB / 2.996 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/5.785, allocations: 3.953 kB / 2.996 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000747/5.786, allocations: 0.609 MB / 2.997 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/5.786, allocations: 4.188 kB / 2.997 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/5.786, allocations: 35.98 kB / 2.997 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/5.786, allocations: 11.89 kB / 2.997 GB, free: 6.578 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/5.786, allocations: 0 / 2.997 GB, free: 6.578 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/5.786, allocations: 4 kB / 2.997 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/5.786, allocations: 7.984 kB / 2.997 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/5.786, allocations: 456 kB / 2.997 GB, free: 6.051 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.843e-05/5.786, allocations: 100.9 kB / 2.997 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/5.786, allocations: 7.953 kB / 2.997 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/5.787, allocations: 15.89 kB / 2.997 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.809e-05/5.787, allocations: 16.05 kB / 2.997 GB, free: 5.895 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/5.787, allocations: 11.98 kB / 2.997 GB, free: 5.883 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001013/5.787, allocations: 162 kB / 2.997 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/5.787, allocations: 0 / 2.997 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005941/5.787, allocations: 155.7 kB / 2.998 GB, free: 5.57 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 (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.001943/5.789, allocations: 2.489 MB / 3 GB, free: 3.008 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002245/5.79, allocations: 130.6 kB / 3 GB, free: 2.883 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/5.79, allocations: 4 kB / 3 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.985e-05/5.79, allocations: 67.86 kB / 3 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006012/5.79, allocations: 109 kB / 3 GB, free: 2.707 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008961/5.791, allocations: 492.9 kB / 3.001 GB, free: 2.168 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/5.791, allocations: 0.7958 MB / 3.002 GB, free: 1.348 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001683/5.792, allocations: 38.06 kB / 3.002 GB, free: 1.312 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/5.792, allocations: 95.39 kB / 3.002 GB, free: 1.219 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/5.792, allocations: 0 / 3.002 GB, free: 1.219 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4733/6.265, allocations: 14.43 MB / 3.016 GB, free: 164.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002316/6.265, allocations: 166.5 kB / 3.016 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/8.617, allocations: 3.469 kB / 3.016 GB, free: 164.2 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)