Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 190.1 kB / 22.23 MB, free: 5.156 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002533/0.002533, allocations: 299.5 kB / 306.6 MB, free: 8.352 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.213/1.213, allocations: 180.9 MB / 0.53 GB, free: 14.45 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity")
translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 102.5 kB / 0.7309 GB, free: 38.79 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1998, allocations: 94.2 MB / 0.8228 GB, free: 1.863 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.2169/0.4167, allocations: 168.1 MB / 0.987 GB, free: 9.07 MB / 0.7325 GB
Notification: Performance of NFInst.instExpressions: time 0.004023/0.4207, allocations: 1.568 MB / 0.9886 GB, free: 7.5 MB / 0.7325 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000524/0.4212, allocations: 15.88 kB / 0.9886 GB, free: 7.484 MB / 0.7325 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006845/0.4219, allocations: 154.8 kB / 0.9887 GB, free: 7.332 MB / 0.7325 GB
Notification: Performance of NFTyping.typeBindings: time 0.002416/0.4243, allocations: 0.7507 MB / 0.9895 GB, free: 6.578 MB / 0.7325 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.4266, allocations: 0.6301 MB / 0.9901 GB, free: 5.949 MB / 0.7325 GB
Notification: Performance of NFFlatten.flatten: time 0.00131/0.4279, allocations: 0.7371 MB / 0.9908 GB, free: 5.207 MB / 0.7325 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004799/0.4284, allocations: 189.3 kB / 0.991 GB, free: 5.023 MB / 0.7325 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0008423/0.4292, allocations: 358.6 kB / 0.9913 GB, free: 4.672 MB / 0.7325 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004401/0.4297, allocations: 247 kB / 0.9916 GB, free: 4.43 MB / 0.7325 GB
Notification: Performance of NFPackage.collectConstants: time 6.287e-05/0.4297, allocations: 28 kB / 0.9916 GB, free: 4.402 MB / 0.7325 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.4316, allocations: 0.9429 MB / 0.9925 GB, free: 3.457 MB / 0.7325 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.4318, allocations: 115.6 kB / 0.9926 GB, free: 3.344 MB / 0.7325 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002645/0.432, allocations: 171.2 kB / 0.9928 GB, free: 3.176 MB / 0.7325 GB
Notification: Performance of NFConvertDAE.convert: time 0.001526/0.4336, allocations: 0.732 MB / 0.9935 GB, free: 2.441 MB / 0.7325 GB
Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4336, allocations: 3.984 kB / 0.9935 GB, free: 2.438 MB / 0.7325 GB
Notification: Performance of FrontEnd: time 1.473e-06/0.4336, allocations: 0 / 0.9935 GB, free: 2.438 MB / 0.7325 GB
Notification: Performance of Transformations before backend: time 1.28e-05/0.4336, allocations: 0 / 0.9935 GB, free: 2.438 MB / 0.7325 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.001248/0.4348, allocations: 0.5979 MB / 0.9941 GB, free: 1.809 MB / 0.7325 GB
Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4349, allocations: 8.031 kB / 0.9941 GB, free: 1.801 MB / 0.7325 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.4362, allocations: 159.6 kB / 0.9942 GB, free: 1.645 MB / 0.7325 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006117/0.4368, allocations: 272.4 kB / 0.9945 GB, free: 1.355 MB / 0.7325 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.4368, allocations: 16.5 kB / 0.9945 GB, free: 1.34 MB / 0.7325 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.488e-05/0.4369, allocations: 27.94 kB / 0.9945 GB, free: 1.312 MB / 0.7325 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005851/0.4374, allocations: 285 kB / 0.9948 GB, free: 1.012 MB / 0.7325 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4375, allocations: 0 / 0.9948 GB, free: 1.012 MB / 0.7325 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.4375, allocations: 16 kB / 0.9948 GB, free: 0.9961 MB / 0.7325 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.4375, allocations: 7.984 kB / 0.9948 GB, free: 0.9883 MB / 0.7325 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.438, allocations: 200.9 kB / 0.995 GB, free: 0.793 MB / 0.7325 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.00186/0.4398, allocations: 1.189 MB / 0.9962 GB, free: 15.51 MB / 0.7481 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.4402, allocations: 142.4 kB / 0.9963 GB, free: 15.36 MB / 0.7481 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.4404, allocations: 94.84 kB / 0.9964 GB, free: 15.27 MB / 0.7481 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004937/0.4409, allocations: 71.91 kB / 0.9965 GB, free: 15.2 MB / 0.7481 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.4409, allocations: 30.56 kB / 0.9965 GB, free: 15.16 MB / 0.7481 GB
Notification: Performance of pre-optimization done (n=17): time 1.433e-06/0.4409, allocations: 4 kB / 0.9965 GB, free: 15.15 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=17): time 0.0008609/0.4418, allocations: 293.5 kB / 0.9968 GB, free: 14.86 MB / 0.7481 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.338e-05/0.4418, allocations: 59.34 kB / 0.9969 GB, free: 14.79 MB / 0.7481 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004291/0.4422, allocations: 324.5 kB / 0.9972 GB, free: 14.46 MB / 0.7481 GB
Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.4423, allocations: 33.64 kB / 0.9972 GB, free: 14.42 MB / 0.7481 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.4424, allocations: 184.3 kB / 0.9974 GB, free: 14.23 MB / 0.7481 GB
Notification: Performance of collectInitialBindings (initialization): time 6.399e-05/0.4425, allocations: 71.41 kB / 0.9974 GB, free: 14.16 MB / 0.7481 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.293e-05/0.4426, allocations: 41.7 kB / 0.9975 GB, free: 14.12 MB / 0.7481 GB
Notification: Performance of setup shared object (initialization): time 0.0001999/0.4428, allocations: 342.8 kB / 0.9978 GB, free: 13.77 MB / 0.7481 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.443, allocations: 63.95 kB / 0.9979 GB, free: 13.71 MB / 0.7481 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/0.4432, allocations: 132.9 kB / 0.998 GB, free: 13.56 MB / 0.7481 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.4437, allocations: 193 kB / 0.9982 GB, free: 13.36 MB / 0.7481 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.4437, allocations: 3.938 kB / 0.9982 GB, free: 13.35 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005522/0.4442, allocations: 264.5 kB / 0.9984 GB, free: 13.09 MB / 0.7481 GB
Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.4443, allocations: 8 kB / 0.9984 GB, free: 13.08 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4443, allocations: 0 / 0.9984 GB, free: 13.08 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.4443, allocations: 4 kB / 0.9984 GB, free: 13.08 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.4445, allocations: 43.97 kB / 0.9985 GB, free: 13.04 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.4445, allocations: 7.938 kB / 0.9985 GB, free: 13.03 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.4447, allocations: 31.92 kB / 0.9985 GB, free: 13 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.4448, allocations: 12 kB / 0.9985 GB, free: 12.98 MB / 0.7481 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 ()
 * Number of clocked 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 (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001684/0.4449, allocations: 154.4 kB / 0.9987 GB, free: 12.82 MB / 0.7481 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.718e-05/0.445, allocations: 39.75 kB / 0.9987 GB, free: 12.79 MB / 0.7481 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005304/0.4455, allocations: 230.4 kB / 0.9989 GB, free: 12.56 MB / 0.7481 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.4455, allocations: 4 kB / 0.9989 GB, free: 12.55 MB / 0.7481 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.4456, allocations: 0 / 0.9989 GB, free: 12.55 MB / 0.7481 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4456, allocations: 4 kB / 0.999 GB, free: 12.55 MB / 0.7481 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001252/0.4468, allocations: 0.6787 MB / 0.9996 GB, free: 11.8 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.4468, allocations: 4 kB / 0.9996 GB, free: 11.8 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.447, allocations: 27.98 kB / 0.9996 GB, free: 11.77 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.447, allocations: 4 kB / 0.9996 GB, free: 11.77 MB / 0.7481 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.447, allocations: 11.98 kB / 0.9997 GB, free: 11.75 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.244e-06/0.447, allocations: 7.875 kB / 0.9997 GB, free: 11.75 MB / 0.7481 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.447, allocations: 4 kB / 0.9997 GB, free: 11.74 MB / 0.7481 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007879/0.4478, allocations: 447.3 kB / 1 GB, free: 11.27 MB / 0.7481 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.448, allocations: 43.83 kB / 1 GB, free: 11.23 MB / 0.7481 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.448, allocations: 11.94 kB / 1 GB, free: 11.21 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.4482, allocations: 15.92 kB / 1 GB, free: 11.2 MB / 0.7481 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.4483, allocations: 16.06 kB / 1 GB, free: 11.18 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.4483, allocations: 7.938 kB / 1 GB, free: 11.18 MB / 0.7481 GB
Notification: Performance of sorting global known variables: time 0.000251/0.4486, allocations: 235 kB / 1 GB, free: 10.95 MB / 0.7481 GB
Notification: Performance of sort global known variables: time 8e-08/0.4486, allocations: 0 / 1 GB, free: 10.95 MB / 0.7481 GB
Notification: Performance of remove unused functions: time 0.0004201/0.449, allocations: 83.95 kB / 1 GB, free: 10.87 MB / 0.7481 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 ()
 * Number of clocked 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 (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.000411/0.4494, allocations: 157.8 kB / 1.001 GB, free: 10.71 MB / 0.7481 GB
Notification: Performance of simCode: created initialization part: time 0.0005039/0.4499, allocations: 187.6 kB / 1.001 GB, free: 10.52 MB / 0.7481 GB
Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4499, allocations: 0 / 1.001 GB, free: 10.52 MB / 0.7481 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002169/0.4501, allocations: 91.81 kB / 1.001 GB, free: 10.43 MB / 0.7481 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009439/0.4511, allocations: 180.7 kB / 1.001 GB, free: 10.27 MB / 0.7481 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.4523, allocations: 0.6305 MB / 1.002 GB, free: 9.582 MB / 0.7481 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004993/0.4528, allocations: 0.7795 MB / 1.002 GB, free: 8.777 MB / 0.7481 GB
Notification: Performance of simCode: alias equations: time 0.0002186/0.453, allocations: 66.94 kB / 1.003 GB, free: 8.711 MB / 0.7481 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.4531, allocations: 31.44 kB / 1.003 GB, free: 8.68 MB / 0.7481 GB
Notification: Performance of SimCode: time 4.3e-07/0.4531, allocations: 0 / 1.003 GB, free: 8.68 MB / 0.7481 GB
Notification: Performance of Templates: time 0.01314/0.4663, allocations: 6.008 MB / 1.008 GB, free: 2.781 MB / 0.7481 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.75399393029511]
Failed to read output from testmodel.py, exit status != 0:
0.4742455892264843 0.797862883 0.361545765
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0d032d97b0>