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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6554/0.6554, allocations: 117.9 MB / 133.9 MB, free: 4.52 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.00153/0.00153, allocations: 186.8 kB / 161.7 MB, free: 2.746 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 394.8 MB, free: 20.93 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.0007775/0.0007775, allocations: 101.9 kB / 470.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003827, allocations: 16 kB / 0.5423 GB, free: 6.855 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3972, allocations: 74.54 MB / 0.6151 GB, free: 54.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.283/5.68, allocations: 2.136 GB / 2.751 GB, free: 248 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/5.681, allocations: 93.02 kB / 2.751 GB, free: 248 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.504/6.185, allocations: 241.8 MB / 2.987 GB, free: 20 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/6.185, allocations: 0 / 2.987 GB, free: 20 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.517e-05/6.185, allocations: 19.94 kB / 2.987 GB, free: 19.98 MB / 0.6355 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.001792/6.187, allocations: 0.6819 MB / 2.988 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/6.187, allocations: 15.97 kB / 2.988 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/6.188, allocations: 152.3 kB / 2.988 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007042/6.189, allocations: 332.1 kB / 2.988 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.194e-05/6.189, allocations: 20.94 kB / 2.988 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/6.189, allocations: 24.38 kB / 2.988 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006968/6.19, allocations: 268.8 kB / 2.988 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/6.19, allocations: 7.938 kB / 2.989 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/6.19, allocations: 8 kB / 2.989 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/6.19, allocations: 4 kB / 2.989 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006452/6.191, allocations: 209.6 kB / 2.989 GB, free: 18.16 MB / 0.6355 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.001752/6.192, allocations: 1.059 MB / 2.99 GB, free: 17.01 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/6.193, allocations: 148 kB / 2.99 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/6.193, allocations: 101.1 kB / 2.99 GB, free: 16.76 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006173/6.194, allocations: 291.3 kB / 2.99 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/6.194, allocations: 50.44 kB / 2.99 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 3.206e-06/6.194, allocations: 0 / 2.99 GB, free: 16.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.001113/6.195, allocations: 274.7 kB / 2.991 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/6.195, allocations: 55.41 kB / 2.991 GB, free: 16.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000447/6.196, allocations: 324.4 kB / 2.991 GB, free: 15.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/6.196, allocations: 33.64 kB / 2.991 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/6.196, allocations: 180.1 kB / 2.991 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/6.196, allocations: 59.19 kB / 2.991 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/6.196, allocations: 4 kB / 2.991 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.647e-05/6.196, allocations: 346.8 kB / 2.992 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/6.196, allocations: 67.95 kB / 2.992 GB, free: 15 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/6.196, allocations: 121.2 kB / 2.992 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/6.197, allocations: 194.2 kB / 2.992 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/6.197, allocations: 4 kB / 2.992 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000678/6.198, allocations: 241 kB / 2.992 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/6.198, allocations: 8 kB / 2.992 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/6.198, allocations: 0 / 2.992 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/6.198, allocations: 12.05 kB / 2.992 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/6.198, allocations: 43.92 kB / 2.992 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/6.198, allocations: 0 / 2.992 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003534/6.198, allocations: 39.67 kB / 2.992 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/6.199, allocations: 8 kB / 2.992 GB, free: 14.3 MB / 0.6355 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.0001769/6.199, allocations: 157.8 kB / 2.992 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.527e-05/6.199, allocations: 35.56 kB / 2.992 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006427/6.199, allocations: 218.4 kB / 2.993 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/6.199, allocations: 4 kB / 2.993 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/6.2, allocations: 7.938 kB / 2.993 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/6.2, allocations: 0 / 2.993 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/6.201, allocations: 0.6709 MB / 2.993 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/6.201, allocations: 0 / 2.993 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/6.201, allocations: 35.92 kB / 2.993 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/6.201, allocations: 4 kB / 2.993 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/6.201, allocations: 8 kB / 2.993 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/6.201, allocations: 4.188 kB / 2.993 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/6.201, allocations: 4 kB / 2.993 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009269/6.202, allocations: 428.1 kB / 2.994 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/6.202, allocations: 108.7 kB / 2.994 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.949e-05/6.203, allocations: 8 kB / 2.994 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003465/6.203, allocations: 24.05 kB / 2.994 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.152e-05/6.203, allocations: 27.8 kB / 2.994 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/6.203, allocations: 4 kB / 2.994 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002951/6.203, allocations: 231 kB / 2.994 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.2e-07/6.203, allocations: 0 / 2.994 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001081/6.204, allocations: 175.9 kB / 2.994 GB, free: 12.04 MB / 0.6355 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.00211/6.207, allocations: 1.051 MB / 2.995 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005436/6.207, allocations: 171.7 kB / 2.996 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/6.207, allocations: 128 / 2.996 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002247/6.207, allocations: 91.83 kB / 2.996 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/6.209, allocations: 153.2 kB / 2.996 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/6.21, allocations: 0.723 MB / 2.996 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/6.21, allocations: 0.7797 MB / 2.997 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003459/6.211, allocations: 54.95 kB / 2.997 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/6.211, allocations: 27.44 kB / 2.997 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of SimCode: time 4.01e-07/6.211, allocations: 4 kB / 2.997 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of Templates: time 0.3896/6.6, allocations: 18.06 MB / 3.015 GB, free: 169.8 MB / 0.6355 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)