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.7181/0.7181, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 188.9 kB / 169.7 MB, free: 1.727 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.74/1.74, allocations: 205.1 MB / 404.5 MB, free: 1.59 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.0008157/0.0008158, allocations: 78.47 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.819e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1545, allocations: 76.77 MB / 0.6282 GB, free: 10.01 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.706/4.861, allocations: 2.137 GB / 2.765 GB, free: 192.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/4.861, allocations: 87.95 kB / 2.765 GB, free: 192.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8381/5.699, allocations: 242 MB / 3.001 GB, free: 168.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.643e-06/5.699, allocations: 3.938 kB / 3.001 GB, free: 168.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.882e-05/5.699, allocations: 15.44 kB / 3.001 GB, free: 168.9 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.0009937/5.7, allocations: 0.6343 MB / 3.002 GB, free: 168.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/5.7, allocations: 11.88 kB / 3.002 GB, free: 168.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/5.702, allocations: 159.9 kB / 3.002 GB, free: 168.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/5.702, allocations: 320.1 kB / 3.002 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/5.702, allocations: 19.72 kB / 3.002 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.779e-05/5.702, allocations: 21.66 kB / 3.002 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000397/5.702, allocations: 246.9 kB / 3.003 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/5.702, allocations: 2.875 kB / 3.003 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/5.702, allocations: 13.45 kB / 3.003 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/5.703, allocations: 6.875 kB / 3.003 GB, free: 168.2 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002662/5.703, allocations: 166.8 kB / 3.003 GB, free: 168.2 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.001276/5.704, allocations: 1.056 MB / 3.004 GB, free: 167.5 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/5.704, allocations: 134.7 kB / 3.004 GB, free: 167.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/5.704, allocations: 72.86 kB / 3.004 GB, free: 167.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004266/5.705, allocations: 306.5 kB / 3.004 GB, free: 167.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/5.705, allocations: 30.56 kB / 3.004 GB, free: 167.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/5.705, allocations: 0 / 3.004 GB, free: 167.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=16): time 0.0004447/5.705, allocations: 190.7 kB / 3.005 GB, free: 167.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/5.705, allocations: 55.36 kB / 3.005 GB, free: 167.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/5.706, allocations: 279.6 kB / 3.005 GB, free: 167 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/5.706, allocations: 30.95 kB / 3.005 GB, free: 166.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/5.706, allocations: 186.6 kB / 3.005 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/5.706, allocations: 52.73 kB / 3.005 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.839e-06/5.706, allocations: 6.5 kB / 3.005 GB, free: 166.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.404e-05/5.706, allocations: 345 kB / 3.005 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.214e-05/5.706, allocations: 45.47 kB / 3.005 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/5.706, allocations: 106 kB / 3.006 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/5.706, allocations: 67.31 kB / 3.006 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/5.706, allocations: 0 / 3.006 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002806/5.707, allocations: 213 kB / 3.006 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/5.707, allocations: 6.656 kB / 3.006 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/5.707, allocations: 0 / 3.006 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/5.707, allocations: 3.594 kB / 3.006 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/5.707, allocations: 43.67 kB / 3.006 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/5.707, allocations: 10.72 kB / 3.006 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/5.707, allocations: 39.16 kB / 3.006 GB, free: 166.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/5.707, allocations: 10.62 kB / 3.006 GB, free: 166.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 7.717e-05/5.707, allocations: 117.3 kB / 3.006 GB, free: 166.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/5.707, allocations: 29.19 kB / 3.006 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/5.708, allocations: 191.7 kB / 3.006 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/5.708, allocations: 10.39 kB / 3.006 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/5.708, allocations: 3.469 kB / 3.006 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/5.708, allocations: 0 / 3.006 GB, free: 166.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007206/5.708, allocations: 0.632 MB / 3.007 GB, free: 165.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/5.708, allocations: 3.375 kB / 3.007 GB, free: 165.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/5.708, allocations: 34.53 kB / 3.007 GB, free: 165.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/5.709, allocations: 7.859 kB / 3.007 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/5.709, allocations: 11.45 kB / 3.007 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/5.709, allocations: 0 / 3.007 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/5.709, allocations: 3.25 kB / 3.007 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/5.709, allocations: 444.1 kB / 3.007 GB, free: 165.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/5.709, allocations: 115 kB / 3.007 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/5.709, allocations: 6.016 kB / 3.007 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/5.709, allocations: 23.39 kB / 3.008 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/5.709, allocations: 12.7 kB / 3.008 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/5.709, allocations: 9.219 kB / 3.008 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001826/5.71, allocations: 232.7 kB / 3.008 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/5.71, allocations: 0 / 3.008 GB, free: 165.4 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006567/5.71, allocations: 173.1 kB / 3.008 GB, free: 165.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 () * 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.001311/5.712, allocations: 1.042 MB / 3.009 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002489/5.712, allocations: 132.5 kB / 3.009 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/5.712, allocations: 3.688 kB / 3.009 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.839e-05/5.712, allocations: 74.72 kB / 3.009 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007658/5.713, allocations: 170.8 kB / 3.009 GB, free: 165.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006884/5.713, allocations: 429.6 kB / 3.01 GB, free: 164.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002257/5.714, allocations: 0.7919 MB / 3.01 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001899/5.714, allocations: 57.59 kB / 3.011 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/5.714, allocations: 23.47 kB / 3.011 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of SimCode: time 2.5e-07/5.714, allocations: 3.469 kB / 3.011 GB, free: 164.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.02484/5.739, allocations: 20.77 MB / 3.031 GB, free: 162.8 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)