Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.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.001235/0.001235, allocations: 110 kB / 18.94 MB, free: 2.949 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.001327/0.001327, allocations: 191.1 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.388/1.388, allocations: 225.6 MB / 251 MB, free: 13 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.002735/0.002735, allocations: 296.5 kB / 306.6 MB, free: 8.312 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.217/1.217, allocations: 180.9 MB / 0.53 GB, free: 14.33 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.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity")
translateModel(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002787/0.002787, allocations: 109.1 kB / 0.7308 GB, free: 38.6 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1889, allocations: 94.19 MB / 0.8228 GB, free: 1.84 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity): time 0.2037/0.3927, allocations: 166 MB / 0.9849 GB, free: 11.23 MB / 0.7325 GB
Notification: Performance of NFInst.instExpressions: time 0.003383/0.396, allocations: 1.572 MB / 0.9864 GB, free: 9.656 MB / 0.7325 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003469/0.3964, allocations: 19.81 kB / 0.9865 GB, free: 9.637 MB / 0.7325 GB
Notification: Performance of NFTyping.typeComponents: time 0.0004932/0.3969, allocations: 142.9 kB / 0.9866 GB, free: 9.496 MB / 0.7325 GB
Notification: Performance of NFTyping.typeBindings: time 0.00132/0.3982, allocations: 497.8 kB / 0.9871 GB, free: 9.008 MB / 0.7325 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002179/0.4004, allocations: 0.7934 MB / 0.9879 GB, free: 8.215 MB / 0.7325 GB
Notification: Performance of NFFlatten.flatten: time 0.0009302/0.4013, allocations: 0.7253 MB / 0.9886 GB, free: 7.484 MB / 0.7325 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003793/0.4017, allocations: 209.6 kB / 0.9888 GB, free: 7.281 MB / 0.7325 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005915/0.4023, allocations: 322.8 kB / 0.9891 GB, free: 6.965 MB / 0.7325 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003194/0.4026, allocations: 247 kB / 0.9893 GB, free: 6.723 MB / 0.7325 GB
Notification: Performance of NFPackage.collectConstants: time 5.351e-05/0.4027, allocations: 24 kB / 0.9893 GB, free: 6.699 MB / 0.7325 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001664/0.4043, allocations: 0.9314 MB / 0.9902 GB, free: 5.766 MB / 0.7325 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.4045, allocations: 111.7 kB / 0.9903 GB, free: 5.656 MB / 0.7325 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.4047, allocations: 159.2 kB / 0.9905 GB, free: 5.5 MB / 0.7325 GB
Notification: Performance of NFConvertDAE.convert: time 0.00123/0.4059, allocations: 0.7514 MB / 0.9912 GB, free: 4.746 MB / 0.7325 GB
Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.4059, allocations: 4 kB / 0.9912 GB, free: 4.742 MB / 0.7325 GB
Notification: Performance of FrontEnd: time 1.753e-06/0.4059, allocations: 0 / 0.9912 GB, free: 4.742 MB / 0.7325 GB
Notification: Performance of Transformations before backend: time 8.155e-06/0.4059, allocations: 0 / 0.9912 GB, free: 4.742 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: 56
 * Number of variables: 56
Notification: Performance of Generate backend data structure: time 0.001225/0.4071, allocations: 0.6017 MB / 0.9918 GB, free: 4.109 MB / 0.7325 GB
Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4072, allocations: 12.03 kB / 0.9918 GB, free: 4.098 MB / 0.7325 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005209/0.4077, allocations: 91.64 kB / 0.9919 GB, free: 4.008 MB / 0.7325 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.4082, allocations: 256.1 kB / 0.9922 GB, free: 3.734 MB / 0.7325 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/0.4082, allocations: 20.5 kB / 0.9922 GB, free: 3.715 MB / 0.7325 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.754e-05/0.4083, allocations: 24 kB / 0.9922 GB, free: 3.691 MB / 0.7325 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007327/0.409, allocations: 327.4 kB / 0.9925 GB, free: 3.359 MB / 0.7325 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.409, allocations: 0 / 0.9925 GB, free: 3.359 MB / 0.7325 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.409, allocations: 11.94 kB / 0.9925 GB, free: 3.348 MB / 0.7325 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.409, allocations: 11.94 kB / 0.9925 GB, free: 3.336 MB / 0.7325 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007645/0.4098, allocations: 289.4 kB / 0.9928 GB, free: 3.055 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.001825/0.4116, allocations: 1.029 MB / 0.9938 GB, free: 1.965 MB / 0.7325 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009229/0.4126, allocations: 234.5 kB / 0.994 GB, free: 1.727 MB / 0.7325 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.4129, allocations: 128.8 kB / 0.9942 GB, free: 1.598 MB / 0.7325 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005507/0.4135, allocations: 83.91 kB / 0.9942 GB, free: 1.516 MB / 0.7325 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/0.4135, allocations: 42.48 kB / 0.9943 GB, free: 1.465 MB / 0.7325 GB
Notification: Performance of pre-optimization done (n=19): time 1.283e-06/0.4135, allocations: 0 / 0.9943 GB, free: 1.465 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=19): time 0.001283/0.4148, allocations: 415.3 kB / 0.9947 GB, free: 1.055 MB / 0.7325 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.11e-05/0.4148, allocations: 51.41 kB / 0.9947 GB, free: 0.9922 MB / 0.7325 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.4151, allocations: 272.2 kB / 0.995 GB, free: 0.7188 MB / 0.7325 GB
Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.4151, allocations: 25.7 kB / 0.995 GB, free: 0.6875 MB / 0.7325 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.4153, allocations: 176.4 kB / 0.9952 GB, free: 0.5117 MB / 0.7325 GB
Notification: Performance of collectInitialBindings (initialization): time 7.621e-05/0.4154, allocations: 67.42 kB / 0.9952 GB, free: 456 kB / 0.7325 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.295e-05/0.4155, allocations: 45.7 kB / 0.9953 GB, free: 404 kB / 0.7325 GB
Notification: Performance of setup shared object (initialization): time 0.0001696/0.4156, allocations: 334.8 kB / 0.9956 GB, free: 60 kB / 0.7325 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.416, allocations: 107.9 kB / 0.9957 GB, free: 15.95 MB / 0.7481 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003716/0.4163, allocations: 161.9 kB / 0.9959 GB, free: 15.77 MB / 0.7481 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000673/0.417, allocations: 278.9 kB / 0.9961 GB, free: 15.48 MB / 0.7481 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.417, allocations: 0 / 0.9961 GB, free: 15.48 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007882/0.4178, allocations: 309.2 kB / 0.9964 GB, free: 15.18 MB / 0.7481 GB
Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.4178, allocations: 8 kB / 0.9964 GB, free: 15.17 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4178, allocations: 4.062 kB / 0.9964 GB, free: 15.16 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.4178, allocations: 7.938 kB / 0.9964 GB, free: 15.16 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.4181, allocations: 59.89 kB / 0.9965 GB, free: 15.1 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4181, allocations: 4 kB / 0.9965 GB, free: 15.09 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.4184, allocations: 39.81 kB / 0.9965 GB, free: 15.05 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.4184, allocations: 12.12 kB / 0.9966 GB, free: 15.04 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.000167/0.4186, allocations: 157.7 kB / 0.9967 GB, free: 14.88 MB / 0.7481 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.029e-05/0.4186, allocations: 27.86 kB / 0.9967 GB, free: 14.85 MB / 0.7481 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008454/0.4195, allocations: 313.7 kB / 0.997 GB, free: 14.54 MB / 0.7481 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.4195, allocations: 11.94 kB / 0.997 GB, free: 14.52 MB / 0.7481 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4195, allocations: 0 / 0.997 GB, free: 14.52 MB / 0.7481 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.4195, allocations: 3.984 kB / 0.9971 GB, free: 14.52 MB / 0.7481 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.4211, allocations: 0.8256 MB / 0.9979 GB, free: 13.61 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4211, allocations: 0 / 0.9979 GB, free: 13.61 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.4214, allocations: 51.89 kB / 0.9979 GB, free: 13.56 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.4214, allocations: 8.188 kB / 0.9979 GB, free: 13.55 MB / 0.7481 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.4214, allocations: 8 kB / 0.9979 GB, free: 13.55 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4214, allocations: 3.938 kB / 0.9979 GB, free: 13.54 MB / 0.7481 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.4214, allocations: 4 kB / 0.9979 GB, free: 13.54 MB / 0.7481 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.4226, allocations: 0.5643 MB / 0.9985 GB, free: 12.94 MB / 0.7481 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.4227, allocations: 47.81 kB / 0.9985 GB, free: 12.89 MB / 0.7481 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.4228, allocations: 12.03 kB / 0.9985 GB, free: 12.88 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.423, allocations: 19.97 kB / 0.9986 GB, free: 12.86 MB / 0.7481 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.775e-05/0.4231, allocations: 23.91 kB / 0.9986 GB, free: 12.84 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.4231, allocations: 15.98 kB / 0.9986 GB, free: 12.82 MB / 0.7481 GB
Notification: Performance of sorting global known variables: time 0.0001947/0.4233, allocations: 187.1 kB / 0.9988 GB, free: 12.64 MB / 0.7481 GB
Notification: Performance of sort global known variables: time 1e-07/0.4233, allocations: 64 / 0.9988 GB, free: 12.64 MB / 0.7481 GB
Notification: Performance of remove unused functions: time 0.0004641/0.4238, allocations: 119.7 kB / 0.9989 GB, free: 12.52 MB / 0.7481 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 1 (relHum.phi)
 * 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 (19):
 * Single equations (assignments): 19
 * 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.0005016/0.4243, allocations: 198.6 kB / 0.9991 GB, free: 12.33 MB / 0.7481 GB
Notification: Performance of simCode: created initialization part: time 0.0007682/0.4251, allocations: 253.2 kB / 0.9993 GB, free: 12.08 MB / 0.7481 GB
Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4251, allocations: 0 / 0.9993 GB, free: 12.08 MB / 0.7481 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003746/0.4254, allocations: 132.5 kB / 0.9994 GB, free: 11.95 MB / 0.7481 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007569/0.4262, allocations: 126.1 kB / 0.9996 GB, free: 11.83 MB / 0.7481 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.4274, allocations: 0.6075 MB / 1 GB, free: 11.18 MB / 0.7481 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.4278, allocations: 0.7794 MB / 1.001 GB, free: 10.38 MB / 0.7481 GB
Notification: Performance of simCode: alias equations: time 0.0002199/0.428, allocations: 62.23 kB / 1.001 GB, free: 10.31 MB / 0.7481 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.379e-05/0.4281, allocations: 31.44 kB / 1.001 GB, free: 10.28 MB / 0.7481 GB
Notification: Performance of SimCode: time 4.11e-07/0.4281, allocations: 4 kB / 1.001 GB, free: 10.28 MB / 0.7481 GB
Notification: Performance of Templates: time 0.01213/0.4402, allocations: 6.155 MB / 1.007 GB, free: 4.211 MB / 0.7481 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.8122009532526135]
Failed to read output from testmodel.py, exit status != 0:
0.4477907447144389 0.82452393 0.41566540199999996
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f9f04d217b0>