Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.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.001443/0.001443, allocations: 110 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.001544/0.001544, allocations: 191.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.321/1.321, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 179]
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.002424/0.002424, allocations: 296.6 kB / 306.6 MB, free: 8.316 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.133/1.133, allocations: 180.8 MB / 0.53 GB, free: 14.37 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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation")
translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.0027/0.0027, allocations: 100.7 kB / 0.7308 GB, free: 38.98 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1551, allocations: 94.2 MB / 0.8228 GB, free: 1.836 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008034/0.1631, allocations: 5.678 MB / 0.8284 GB, free: 12.13 MB / 0.5762 GB
Notification: Performance of NFInst.instExpressions: time 0.1746/0.3377, allocations: 151.5 MB / 0.9763 GB, free: 4.047 MB / 0.7169 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009294/0.3386, allocations: 35.69 kB / 0.9763 GB, free: 4.012 MB / 0.7169 GB
Notification: Performance of NFTyping.typeComponents: time 0.001013/0.3397, allocations: 369.4 kB / 0.9767 GB, free: 3.648 MB / 0.7169 GB
Notification: Performance of NFTyping.typeBindings: time 0.002036/0.3417, allocations: 0.5697 MB / 0.9772 GB, free: 3.078 MB / 0.7169 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.3437, allocations: 0.8967 MB / 0.9781 GB, free: 2.188 MB / 0.7169 GB
Notification: Performance of NFFlatten.flatten: time 0.00182/0.3455, allocations: 1.558 MB / 0.9796 GB, free: 0.625 MB / 0.7169 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008231/0.3463, allocations: 0.5029 MB / 0.9801 GB, free: 84 kB / 0.7169 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0007041/0.3471, allocations: 0.5605 MB / 0.9807 GB, free: 15.52 MB / 0.7325 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006472/0.3477, allocations: 0.5715 MB / 0.9812 GB, free: 14.94 MB / 0.7325 GB
Notification: Performance of NFPackage.collectConstants: time 0.000183/0.3479, allocations: 128 kB / 0.9814 GB, free: 14.82 MB / 0.7325 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008817/0.3488, allocations: 0.4994 MB / 0.9818 GB, free: 14.32 MB / 0.7325 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003347/0.3491, allocations: 342.8 kB / 0.9822 GB, free: 13.98 MB / 0.7325 GB
Notification: Performance of NFVerifyModel.verify: time 0.0005998/0.3497, allocations: 0.6566 MB / 0.9828 GB, free: 13.32 MB / 0.7325 GB
Notification: Performance of NFConvertDAE.convert: time 0.002159/0.3519, allocations: 1.926 MB / 0.9847 GB, free: 11.39 MB / 0.7325 GB
Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3519, allocations: 0 / 0.9847 GB, free: 11.39 MB / 0.7325 GB
Notification: Performance of FrontEnd: time 1.263e-06/0.3519, allocations: 0 / 0.9847 GB, free: 11.39 MB / 0.7325 GB
Notification: Performance of Transformations before backend: time 1.499e-05/0.3519, allocations: 0 / 0.9847 GB, free: 11.39 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: 252
 * Number of variables: 252
Notification: Performance of Generate backend data structure: time 0.002839/0.3547, allocations: 1.648 MB / 0.9863 GB, free: 9.707 MB / 0.7325 GB
Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3547, allocations: 8.031 kB / 0.9863 GB, free: 9.699 MB / 0.7325 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000944/0.3557, allocations: 227.8 kB / 0.9865 GB, free: 9.477 MB / 0.7325 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.3571, allocations: 0.8271 MB / 0.9873 GB, free: 8.625 MB / 0.7325 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.226e-05/0.3572, allocations: 74 kB / 0.9874 GB, free: 8.551 MB / 0.7325 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.3573, allocations: 95.98 kB / 0.9875 GB, free: 8.457 MB / 0.7325 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.3592, allocations: 1.035 MB / 0.9885 GB, free: 7.383 MB / 0.7325 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.3592, allocations: 3.938 kB / 0.9885 GB, free: 7.379 MB / 0.7325 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.3593, allocations: 40 kB / 0.9885 GB, free: 7.34 MB / 0.7325 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.3593, allocations: 28 kB / 0.9886 GB, free: 7.312 MB / 0.7325 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.3613, allocations: 1.167 MB / 0.9897 GB, free: 6.145 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.004564/0.3658, allocations: 2.956 MB / 0.9926 GB, free: 3.07 MB / 0.7325 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.3673, allocations: 0.75 MB / 0.9933 GB, free: 2.316 MB / 0.7325 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000534/0.3679, allocations: 274.7 kB / 0.9936 GB, free: 2.043 MB / 0.7325 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.981e-05/0.3679, allocations: 28.61 kB / 0.9936 GB, free: 2.016 MB / 0.7325 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008847/0.3688, allocations: 491.2 kB / 0.9941 GB, free: 1.516 MB / 0.7325 GB
Notification: Performance of pre-optimization done (n=78): time 2.044e-06/0.3688, allocations: 0 / 0.9941 GB, free: 1.516 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=78): time 0.003154/0.372, allocations: 1.148 MB / 0.9952 GB, free: 372 kB / 0.7325 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.3721, allocations: 188.6 kB / 0.9954 GB, free: 140 kB / 0.7325 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.3732, allocations: 0.7914 MB / 0.9962 GB, free: 15.32 MB / 0.7481 GB
Notification: Performance of collectPreVariables (initialization): time 7.084e-05/0.3733, allocations: 41.7 kB / 0.9962 GB, free: 15.27 MB / 0.7481 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004637/0.3738, allocations: 0.5164 MB / 0.9967 GB, free: 14.75 MB / 0.7481 GB
Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.374, allocations: 261.7 kB / 0.997 GB, free: 14.49 MB / 0.7481 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/0.3743, allocations: 158.5 kB / 0.9971 GB, free: 14.33 MB / 0.7481 GB
Notification: Performance of setup shared object (initialization): time 0.0001658/0.3744, allocations: 345.9 kB / 0.9974 GB, free: 13.99 MB / 0.7481 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005706/0.375, allocations: 265.9 kB / 0.9977 GB, free: 13.73 MB / 0.7481 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00066/0.3757, allocations: 363 kB / 0.998 GB, free: 13.36 MB / 0.7481 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.3768, allocations: 0.6033 MB / 0.9986 GB, free: 12.74 MB / 0.7481 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.3768, allocations: 4 kB / 0.9986 GB, free: 12.74 MB / 0.7481 GB
Notification: Performance of matching and sorting (n=94) (initialization): time 0.002029/0.3789, allocations: 0.8608 MB / 0.9995 GB, free: 11.87 MB / 0.7481 GB
Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.3789, allocations: 8 kB / 0.9995 GB, free: 11.86 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3789, allocations: 3.938 kB / 0.9995 GB, free: 11.86 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000627/0.3795, allocations: 84.81 kB / 0.9996 GB, free: 11.77 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006477/0.3802, allocations: 159.7 kB / 0.9997 GB, free: 11.61 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002183/0.3824, allocations: 1.543 MB / 1.001 GB, free: 9.953 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.3831, allocations: 95.59 kB / 1.001 GB, free: 9.859 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.911e-05/0.3831, allocations: 35.98 kB / 1.001 GB, free: 9.824 MB / 0.7481 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (92):
 * Single equations (assignments): 91
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,2)}
Notification: Performance of prepare postOptimizeDAE: time 0.00049/0.3836, allocations: 292.1 kB / 1.002 GB, free: 9.531 MB / 0.7481 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.3838, allocations: 107.3 kB / 1.002 GB, free: 9.426 MB / 0.7481 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.3862, allocations: 1.078 MB / 1.003 GB, free: 8.336 MB / 0.7481 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.3863, allocations: 11.94 kB / 1.003 GB, free: 8.324 MB / 0.7481 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3863, allocations: 3.938 kB / 1.003 GB, free: 8.32 MB / 0.7481 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.3863, allocations: 3.984 kB / 1.003 GB, free: 8.316 MB / 0.7481 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3874, allocations: 0.9769 MB / 1.004 GB, free: 7.297 MB / 0.7481 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3874, allocations: 0 / 1.004 GB, free: 7.297 MB / 0.7481 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.388, allocations: 143.8 kB / 1.004 GB, free: 7.156 MB / 0.7481 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004429/0.3884, allocations: 76.72 kB / 1.004 GB, free: 7.078 MB / 0.7481 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/0.3885, allocations: 31.98 kB / 1.004 GB, free: 7.047 MB / 0.7481 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001978/0.3905, allocations: 1.567 MB / 1.006 GB, free: 5.352 MB / 0.7481 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3905, allocations: 0 / 1.006 GB, free: 5.352 MB / 0.7481 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002011/0.3925, allocations: 0.9477 MB / 1.006 GB, free: 4.387 MB / 0.7481 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004288/0.3929, allocations: 218.9 kB / 1.007 GB, free: 4.172 MB / 0.7481 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.393, allocations: 16 kB / 1.007 GB, free: 4.156 MB / 0.7481 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006213/0.3937, allocations: 67.16 kB / 1.007 GB, free: 4.094 MB / 0.7481 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.3938, allocations: 72.8 kB / 1.007 GB, free: 4.02 MB / 0.7481 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.021e-05/0.3939, allocations: 35.98 kB / 1.007 GB, free: 3.984 MB / 0.7481 GB
Notification: Performance of sorting global known variables: time 0.0007379/0.3946, allocations: 0.5581 MB / 1.007 GB, free: 3.414 MB / 0.7481 GB
Notification: Performance of sort global known variables: time 9e-08/0.3946, allocations: 0 / 1.007 GB, free: 3.414 MB / 0.7481 GB
Notification: Performance of remove unused functions: time 0.0008178/0.3954, allocations: 351 kB / 1.008 GB, free: 3.07 MB / 0.7481 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext)
 * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (89):
 * Single equations (assignments): 83
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 5
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,3)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.001847/0.3973, allocations: 0.6037 MB / 1.008 GB, free: 2.641 MB / 0.7481 GB
Notification: Performance of simCode: created initialization part: time 0.001682/0.399, allocations: 0.8038 MB / 1.009 GB, free: 1.828 MB / 0.7481 GB
Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.399, allocations: 0 / 1.009 GB, free: 1.828 MB / 0.7481 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009599/0.3999, allocations: 0.4926 MB / 1.01 GB, free: 1.32 MB / 0.7481 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.4015, allocations: 473 kB / 1.01 GB, free: 0.8984 MB / 0.7481 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.309/0.7106, allocations: 1.937 MB / 1.012 GB, free: 186.8 MB / 0.7481 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004916/0.7111, allocations: 1.1 MB / 1.013 GB, free: 186.1 MB / 0.7481 GB
Notification: Performance of simCode: alias equations: time 0.0009698/0.712, allocations: 290.5 kB / 1.013 GB, free: 186.1 MB / 0.7481 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.7123, allocations: 113.1 kB / 1.013 GB, free: 186.1 MB / 0.7481 GB
Notification: Performance of SimCode: time 1.232e-06/0.7123, allocations: 3.938 kB / 1.013 GB, free: 186.1 MB / 0.7481 GB
Notification: Performance of Templates: time 0.0275/0.7398, allocations: 18.12 MB / 1.031 GB, free: 179.7 MB / 0.7481 GB
"
[Timeout remaining time 659]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.7993123438209295]
Failed to read output from testmodel.py, exit status != 0:
0.7462176159024239 0.755016006 0.40109060099999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f46ed7dd7b0>