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: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8319/0.8319, allocations: 127.4 MB / 134.9 MB, free: 3.5 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.001407/0.001406, allocations: 176.9 kB / 164.6 MB, free: 11.62 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.525/1.525, allocations: 205.2 MB / 399.5 MB, free: 13.51 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.001068/0.001068, allocations: 94.39 kB / 476.7 MB, free: 1.453 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.549e-05/1.55e-05, allocations: 5.125 kB / 0.5466 GB, free: 95.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1237, allocations: 76.76 MB / 0.6215 GB, free: 43.07 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.447/4.57, allocations: 2.136 GB / 2.757 GB, free: 44.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002595/4.571, allocations: 91.56 kB / 2.758 GB, free: 44.72 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8314/5.402, allocations: 239 MB / 2.991 GB, free: 71.36 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.504e-06/5.402, allocations: 0 / 2.991 GB, free: 71.36 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.704e-05/5.402, allocations: 8 kB / 2.991 GB, free: 71.36 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.001023/5.403, allocations: 0.6445 MB / 2.992 GB, free: 70.66 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/5.403, allocations: 8.031 kB / 2.992 GB, free: 70.66 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/5.404, allocations: 152.6 kB / 2.992 GB, free: 70.51 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/5.405, allocations: 326.8 kB / 2.992 GB, free: 70.15 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/5.405, allocations: 8 kB / 2.992 GB, free: 70.14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/5.405, allocations: 12 kB / 2.992 GB, free: 70.13 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002807/5.405, allocations: 153.1 kB / 2.992 GB, free: 69.98 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/5.406, allocations: 219.2 kB / 2.992 GB, free: 69.75 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/5.406, allocations: 0 / 2.992 GB, free: 69.75 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/5.406, allocations: 0 / 2.992 GB, free: 69.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/5.406, allocations: 7.984 kB / 2.992 GB, free: 69.75 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.001093/5.407, allocations: 0.9847 MB / 2.993 GB, free: 68.68 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/5.407, allocations: 130.5 kB / 2.994 GB, free: 68.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.207e-05/5.407, allocations: 64.84 kB / 2.994 GB, free: 68.48 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004515/5.408, allocations: 303.2 kB / 2.994 GB, free: 68.12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/5.408, allocations: 34.55 kB / 2.994 GB, free: 68.08 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/5.408, allocations: 0 / 2.994 GB, free: 68.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0006048/5.408, allocations: 209.5 kB / 2.994 GB, free: 67.87 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/5.408, allocations: 55.34 kB / 2.994 GB, free: 67.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/5.408, allocations: 206.4 kB / 2.994 GB, free: 67.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/5.408, allocations: 25.7 kB / 2.994 GB, free: 67.57 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.653e-05/5.409, allocations: 188 kB / 2.995 GB, free: 67.38 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/5.409, allocations: 55.2 kB / 2.995 GB, free: 67.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/5.409, allocations: 0 / 2.995 GB, free: 67.32 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.72e-05/5.409, allocations: 338.8 kB / 2.995 GB, free: 66.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/5.409, allocations: 47.98 kB / 2.995 GB, free: 66.93 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-05/5.409, allocations: 102.9 kB / 2.995 GB, free: 66.81 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/5.409, allocations: 94.59 kB / 2.995 GB, free: 66.72 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/5.409, allocations: 0 / 2.995 GB, free: 66.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003552/5.409, allocations: 225.1 kB / 2.995 GB, free: 66.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/5.41, allocations: 7.953 kB / 2.995 GB, free: 66.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/5.41, allocations: 0 / 2.995 GB, free: 66.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/5.41, allocations: 4 kB / 2.995 GB, free: 66.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/5.41, allocations: 51.91 kB / 2.995 GB, free: 66.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/5.41, allocations: 0 / 2.995 GB, free: 66.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/5.41, allocations: 31.89 kB / 2.995 GB, free: 66.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/5.41, allocations: 4 kB / 2.995 GB, free: 66.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 () * 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.765e-05/5.41, allocations: 105 kB / 2.996 GB, free: 66.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/5.41, allocations: 23.72 kB / 2.996 GB, free: 66.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004014/5.411, allocations: 211.4 kB / 2.996 GB, free: 66.05 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/5.411, allocations: 4 kB / 2.996 GB, free: 66.05 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/5.411, allocations: 0 / 2.996 GB, free: 66.05 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/5.411, allocations: 4 kB / 2.996 GB, free: 66.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008485/5.411, allocations: 0.6089 MB / 2.996 GB, free: 65.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/5.411, allocations: 4.188 kB / 2.996 GB, free: 65.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000168/5.412, allocations: 43.97 kB / 2.996 GB, free: 65.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/5.412, allocations: 0 / 2.996 GB, free: 65.32 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/5.412, allocations: 4 kB / 2.996 GB, free: 65.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/5.412, allocations: 4 kB / 2.996 GB, free: 65.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/5.412, allocations: 3.938 kB / 2.996 GB, free: 65.31 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/5.412, allocations: 460.9 kB / 2.997 GB, free: 64.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/5.412, allocations: 104.8 kB / 2.997 GB, free: 64.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/5.412, allocations: 0 / 2.997 GB, free: 64.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/5.412, allocations: 15.98 kB / 2.997 GB, free: 64.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/5.412, allocations: 15.92 kB / 2.997 GB, free: 64.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/5.413, allocations: 12.06 kB / 2.997 GB, free: 64.63 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001081/5.413, allocations: 162 kB / 2.997 GB, free: 64.47 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/5.413, allocations: 0 / 2.997 GB, free: 64.47 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005735/5.413, allocations: 147.8 kB / 2.997 GB, free: 64.33 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.001395/5.415, allocations: 1.21 MB / 2.999 GB, free: 63.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002408/5.415, allocations: 126.3 kB / 2.999 GB, free: 62.98 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/5.415, allocations: 0 / 2.999 GB, free: 62.98 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.666e-05/5.415, allocations: 63.86 kB / 2.999 GB, free: 62.92 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006391/5.416, allocations: 113.1 kB / 2.999 GB, free: 62.81 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006835/5.416, allocations: 401.5 kB / 2.999 GB, free: 62.38 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/5.417, allocations: 0.7958 MB / 3 GB, free: 61.56 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001682/5.417, allocations: 46.06 kB / 3 GB, free: 61.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/5.417, allocations: 23.44 kB / 3 GB, free: 61.5 MB / 0.6511 GB Notification: Performance of SimCode: time 2.71e-07/5.417, allocations: 0 / 3 GB, free: 61.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.01438/5.431, allocations: 9.911 MB / 3.01 GB, free: 51.64 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)