Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.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.001799/0.001799, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002311/0.002311, allocations: 189.4 kB / 22.23 MB, free: 5.137 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.47/1.47, allocations: 225.6 MB / 251 MB, free: 13.04 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.0025/0.0025, allocations: 294.9 kB / 306.6 MB, free: 8.324 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.254/1.254, allocations: 180.9 MB / 0.53 GB, free: 14.51 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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate")
translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002717/0.002717, allocations: 97.89 kB / 0.7308 GB, free: 38.8 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1595, allocations: 94.2 MB / 0.8228 GB, free: 1.812 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2027/0.3622, allocations: 168.1 MB / 0.987 GB, free: 9.078 MB / 0.7325 GB
Notification: Performance of NFInst.instExpressions: time 0.003178/0.3653, allocations: 1.561 MB / 0.9885 GB, free: 7.516 MB / 0.7325 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004097/0.3658, allocations: 19.81 kB / 0.9885 GB, free: 7.496 MB / 0.7325 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005898/0.3663, allocations: 150.8 kB / 0.9887 GB, free: 7.348 MB / 0.7325 GB
Notification: Performance of NFTyping.typeBindings: time 0.002009/0.3684, allocations: 0.7468 MB / 0.9894 GB, free: 6.598 MB / 0.7325 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.37, allocations: 0.634 MB / 0.99 GB, free: 5.965 MB / 0.7325 GB
Notification: Performance of NFFlatten.flatten: time 0.001022/0.371, allocations: 0.7168 MB / 0.9907 GB, free: 5.242 MB / 0.7325 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004352/0.3715, allocations: 185.3 kB / 0.9909 GB, free: 5.062 MB / 0.7325 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007469/0.3722, allocations: 346.7 kB / 0.9912 GB, free: 4.723 MB / 0.7325 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003775/0.3726, allocations: 235.1 kB / 0.9915 GB, free: 4.492 MB / 0.7325 GB
Notification: Performance of NFPackage.collectConstants: time 6.259e-05/0.3727, allocations: 24 kB / 0.9915 GB, free: 4.469 MB / 0.7325 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.3743, allocations: 0.9429 MB / 0.9924 GB, free: 3.523 MB / 0.7325 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.3745, allocations: 119.6 kB / 0.9925 GB, free: 3.406 MB / 0.7325 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002189/0.3747, allocations: 167.1 kB / 0.9927 GB, free: 3.242 MB / 0.7325 GB
Notification: Performance of NFConvertDAE.convert: time 0.001282/0.376, allocations: 0.7242 MB / 0.9934 GB, free: 2.516 MB / 0.7325 GB
Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.376, allocations: 0 / 0.9934 GB, free: 2.516 MB / 0.7325 GB
Notification: Performance of FrontEnd: time 1.843e-06/0.376, allocations: 0 / 0.9934 GB, free: 2.516 MB / 0.7325 GB
Notification: Performance of Transformations before backend: time 9.217e-06/0.376, allocations: 0 / 0.9934 GB, free: 2.516 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: 53
 * Number of variables: 53
Notification: Performance of Generate backend data structure: time 0.001041/0.377, allocations: 0.5823 MB / 0.9939 GB, free: 1.902 MB / 0.7325 GB
Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3771, allocations: 12.03 kB / 0.994 GB, free: 1.891 MB / 0.7325 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.3783, allocations: 155.6 kB / 0.9941 GB, free: 1.738 MB / 0.7325 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005698/0.3789, allocations: 264 kB / 0.9944 GB, free: 1.457 MB / 0.7325 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.3789, allocations: 20.44 kB / 0.9944 GB, free: 1.438 MB / 0.7325 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.379, allocations: 27.98 kB / 0.9944 GB, free: 1.41 MB / 0.7325 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005283/0.3795, allocations: 279.3 kB / 0.9947 GB, free: 1.117 MB / 0.7325 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3795, allocations: 0 / 0.9947 GB, free: 1.117 MB / 0.7325 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.3795, allocations: 12 kB / 0.9947 GB, free: 1.105 MB / 0.7325 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3795, allocations: 8 kB / 0.9947 GB, free: 1.098 MB / 0.7325 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004465/0.38, allocations: 191.8 kB / 0.9949 GB, free: 0.9102 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.001581/0.3816, allocations: 1.175 MB / 0.996 GB, free: 15.64 MB / 0.7481 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.3819, allocations: 130.5 kB / 0.9961 GB, free: 15.5 MB / 0.7481 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.3821, allocations: 88.8 kB / 0.9962 GB, free: 15.41 MB / 0.7481 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004842/0.3825, allocations: 75.92 kB / 0.9963 GB, free: 15.34 MB / 0.7481 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.3826, allocations: 34.5 kB / 0.9963 GB, free: 15.3 MB / 0.7481 GB
Notification: Performance of pre-optimization done (n=15): time 1.313e-06/0.3826, allocations: 0 / 0.9963 GB, free: 15.3 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=15): time 0.0008192/0.3834, allocations: 285.5 kB / 0.9966 GB, free: 15.01 MB / 0.7481 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.3834, allocations: 51.41 kB / 0.9967 GB, free: 14.95 MB / 0.7481 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.3838, allocations: 316.5 kB / 0.997 GB, free: 14.62 MB / 0.7481 GB
Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3838, allocations: 25.7 kB / 0.997 GB, free: 14.59 MB / 0.7481 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.384, allocations: 184.2 kB / 0.9972 GB, free: 14.41 MB / 0.7481 GB
Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/0.384, allocations: 63.47 kB / 0.9972 GB, free: 14.35 MB / 0.7481 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.712e-05/0.3841, allocations: 45.7 kB / 0.9973 GB, free: 14.3 MB / 0.7481 GB
Notification: Performance of setup shared object (initialization): time 0.0001684/0.3843, allocations: 338.8 kB / 0.9976 GB, free: 13.96 MB / 0.7481 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.3844, allocations: 67.95 kB / 0.9976 GB, free: 13.89 MB / 0.7481 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.3847, allocations: 118.2 kB / 0.9978 GB, free: 13.76 MB / 0.7481 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.3851, allocations: 198.8 kB / 0.998 GB, free: 13.55 MB / 0.7481 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3851, allocations: 0 / 0.998 GB, free: 13.55 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=22) (initialization): time 0.000496/0.3856, allocations: 245.3 kB / 0.9982 GB, free: 13.3 MB / 0.7481 GB
Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3856, allocations: 9.875 kB / 0.9982 GB, free: 13.29 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3856, allocations: 0 / 0.9982 GB, free: 13.29 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3856, allocations: 4 kB / 0.9982 GB, free: 13.29 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.3858, allocations: 43.91 kB / 0.9982 GB, free: 13.25 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3858, allocations: 0 / 0.9982 GB, free: 13.25 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.386, allocations: 35.77 kB / 0.9983 GB, free: 13.21 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.386, allocations: 15.94 kB / 0.9983 GB, free: 13.2 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 (22):
 * Single equations (assignments): 22
 * 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.0001578/0.3862, allocations: 154.2 kB / 0.9984 GB, free: 13.04 MB / 0.7481 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.783e-05/0.3863, allocations: 39.69 kB / 0.9985 GB, free: 13 MB / 0.7481 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005518/0.3868, allocations: 215.5 kB / 0.9987 GB, free: 12.79 MB / 0.7481 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3868, allocations: 0 / 0.9987 GB, free: 12.79 MB / 0.7481 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.3868, allocations: 0 / 0.9987 GB, free: 12.79 MB / 0.7481 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3868, allocations: 4 kB / 0.9987 GB, free: 12.79 MB / 0.7481 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.3879, allocations: 0.6514 MB / 0.9993 GB, free: 12.06 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3879, allocations: 4.219 kB / 0.9993 GB, free: 12.06 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.3881, allocations: 43.91 kB / 0.9994 GB, free: 12.02 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.3881, allocations: 3.938 kB / 0.9994 GB, free: 12.01 MB / 0.7481 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.3881, allocations: 8 kB / 0.9994 GB, free: 12 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3881, allocations: 4 kB / 0.9994 GB, free: 12 MB / 0.7481 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3881, allocations: 0 / 0.9994 GB, free: 12 MB / 0.7481 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007047/0.3888, allocations: 433.1 kB / 0.9998 GB, free: 11.54 MB / 0.7481 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3889, allocations: 47.77 kB / 0.9998 GB, free: 11.49 MB / 0.7481 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.389, allocations: 12 kB / 0.9999 GB, free: 11.48 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.3892, allocations: 11.98 kB / 0.9999 GB, free: 11.47 MB / 0.7481 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.3892, allocations: 15.92 kB / 0.9999 GB, free: 11.45 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.3892, allocations: 8 kB / 0.9999 GB, free: 11.45 MB / 0.7481 GB
Notification: Performance of sorting global known variables: time 0.0002327/0.3895, allocations: 227 kB / 1 GB, free: 11.22 MB / 0.7481 GB
Notification: Performance of sort global known variables: time 8e-08/0.3895, allocations: 0 / 1 GB, free: 11.22 MB / 0.7481 GB
Notification: Performance of remove unused functions: time 0.0003793/0.3899, allocations: 75.89 kB / 1 GB, free: 11.15 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 (15):
 * Single equations (assignments): 15
 * 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.0003758/0.3902, allocations: 167.7 kB / 1 GB, free: 10.98 MB / 0.7481 GB
Notification: Performance of simCode: created initialization part: time 0.0004664/0.3907, allocations: 167.7 kB / 1 GB, free: 10.82 MB / 0.7481 GB
Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3907, allocations: 4.188 kB / 1 GB, free: 10.81 MB / 0.7481 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.3909, allocations: 75.89 kB / 1.001 GB, free: 10.74 MB / 0.7481 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008829/0.3918, allocations: 172.1 kB / 1.001 GB, free: 10.58 MB / 0.7481 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.3928, allocations: 0.6137 MB / 1.001 GB, free: 9.914 MB / 0.7481 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.3932, allocations: 0.7756 MB / 1.002 GB, free: 9.113 MB / 0.7481 GB
Notification: Performance of simCode: alias equations: time 0.0001846/0.3934, allocations: 66.92 kB / 1.002 GB, free: 9.051 MB / 0.7481 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.3935, allocations: 23.44 kB / 1.002 GB, free: 9.027 MB / 0.7481 GB
Notification: Performance of SimCode: time 3.31e-07/0.3935, allocations: 3.938 kB / 1.002 GB, free: 9.023 MB / 0.7481 GB
Notification: Performance of Templates: time 0.01241/0.4059, allocations: 5.913 MB / 1.008 GB, free: 3.207 MB / 0.7481 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.913148396648467]
Failed to read output from testmodel.py, exit status != 0:
0.4134860606864095 0.7770154 0.398191765
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f0a48a017b0>