Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001354/0.001354, allocations: 114.6 kB / 19.7 MB, free: 2.035 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.001329/0.001329, allocations: 195.2 kB / 22.98 MB, free: 4.965 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.34/1.34, allocations: 225.6 MB / 251.8 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8966/0.8966, allocations: 149.6 MB / 456.6 MB, free: 1.18 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation")
translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 67.8 kB / 0.6328 GB, free: 8.969 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1781, allocations: 87.87 MB / 0.7186 GB, free: 1.012 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00886/0.1869, allocations: 5.667 MB / 0.7242 GB, free: 11.32 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.4896/0.6766, allocations: 151.5 MB / 0.8721 GB, free: 1.426 MB / 0.6387 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009634/0.6775, allocations: 35.69 kB / 0.8721 GB, free: 1.391 MB / 0.6387 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008549/0.6784, allocations: 379.5 kB / 0.8725 GB, free: 1.02 MB / 0.6387 GB
Notification: Performance of NFTyping.typeBindings: time 0.001847/0.6802, allocations: 0.5651 MB / 0.873 GB, free: 480 kB / 0.6387 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.6822, allocations: 0.9019 MB / 0.8739 GB, free: 15.61 MB / 0.6544 GB
Notification: Performance of NFFlatten.flatten: time 0.001682/0.6838, allocations: 1.558 MB / 0.8754 GB, free: 14.04 MB / 0.6544 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007871/0.6846, allocations: 0.4998 MB / 0.8759 GB, free: 13.5 MB / 0.6544 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006218/0.6853, allocations: 0.5604 MB / 0.8765 GB, free: 12.94 MB / 0.6544 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006359/0.6859, allocations: 0.573 MB / 0.877 GB, free: 12.36 MB / 0.6544 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.686, allocations: 132 kB / 0.8772 GB, free: 12.23 MB / 0.6544 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008989/0.6869, allocations: 0.4918 MB / 0.8776 GB, free: 11.74 MB / 0.6544 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003527/0.6873, allocations: 338.8 kB / 0.878 GB, free: 11.41 MB / 0.6544 GB
Notification: Performance of NFVerifyModel.verify: time 0.0006221/0.6879, allocations: 0.6606 MB / 0.8786 GB, free: 10.75 MB / 0.6544 GB
Notification: Performance of NFConvertDAE.convert: time 0.002145/0.6901, allocations: 1.927 MB / 0.8805 GB, free: 8.816 MB / 0.6544 GB
Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6901, allocations: 0 / 0.8805 GB, free: 8.816 MB / 0.6544 GB
Notification: Performance of FrontEnd: time 1.713e-06/0.6901, allocations: 0 / 0.8805 GB, free: 8.816 MB / 0.6544 GB
Notification: Performance of Transformations before backend: time 1.636e-05/0.6901, allocations: 0 / 0.8805 GB, free: 8.816 MB / 0.6544 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.002759/0.6929, allocations: 1.648 MB / 0.8821 GB, free: 7.137 MB / 0.6544 GB
Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.6929, allocations: 8.625 kB / 0.8821 GB, free: 7.129 MB / 0.6544 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008848/0.6938, allocations: 231.8 kB / 0.8823 GB, free: 6.902 MB / 0.6544 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.6951, allocations: 0.8313 MB / 0.8831 GB, free: 6.043 MB / 0.6544 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.493e-05/0.6952, allocations: 73.98 kB / 0.8832 GB, free: 5.969 MB / 0.6544 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.6953, allocations: 96 kB / 0.8833 GB, free: 5.875 MB / 0.6544 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.6971, allocations: 1.032 MB / 0.8843 GB, free: 4.805 MB / 0.6544 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.6971, allocations: 3.938 kB / 0.8843 GB, free: 4.801 MB / 0.6544 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-05/0.6972, allocations: 44 kB / 0.8844 GB, free: 4.758 MB / 0.6544 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.374e-05/0.6972, allocations: 27.98 kB / 0.8844 GB, free: 4.73 MB / 0.6544 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/0.6991, allocations: 1.175 MB / 0.8855 GB, free: 3.555 MB / 0.6544 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004861/0.704, allocations: 2.99 MB / 0.8885 GB, free: 444 kB / 0.6544 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001627/0.7056, allocations: 0.7416 MB / 0.8892 GB, free: 15.69 MB / 0.67 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005606/0.7062, allocations: 279.2 kB / 0.8894 GB, free: 15.42 MB / 0.67 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.034e-05/0.7063, allocations: 32.55 kB / 0.8895 GB, free: 15.39 MB / 0.67 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008694/0.7071, allocations: 0.4889 MB / 0.89 GB, free: 14.88 MB / 0.67 GB
Notification: Performance of pre-optimization done (n=78): time 2.164e-06/0.7071, allocations: 0 / 0.89 GB, free: 14.88 MB / 0.67 GB
Notification: Performance of matching and sorting (n=78): time 0.003272/0.7104, allocations: 1.134 MB / 0.8911 GB, free: 13.73 MB / 0.67 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.7105, allocations: 196.6 kB / 0.8913 GB, free: 13.5 MB / 0.67 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.7116, allocations: 0.7951 MB / 0.892 GB, free: 12.68 MB / 0.67 GB
Notification: Performance of collectPreVariables (initialization): time 7.007e-05/0.7117, allocations: 45.64 kB / 0.8921 GB, free: 12.63 MB / 0.67 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0004465/0.7122, allocations: 0.5087 MB / 0.8926 GB, free: 12.11 MB / 0.67 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.7124, allocations: 269.7 kB / 0.8928 GB, free: 11.85 MB / 0.67 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002383/0.7126, allocations: 158.6 kB / 0.893 GB, free: 11.69 MB / 0.67 GB
Notification: Performance of setup shared object (initialization): time 0.0001531/0.7128, allocations: 341.9 kB / 0.8933 GB, free: 11.35 MB / 0.67 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005262/0.7133, allocations: 269.9 kB / 0.8936 GB, free: 11.08 MB / 0.67 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006294/0.7139, allocations: 363 kB / 0.8939 GB, free: 10.71 MB / 0.67 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.7151, allocations: 0.6033 MB / 0.8945 GB, free: 10.1 MB / 0.67 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.7151, allocations: 0 / 0.8945 GB, free: 10.1 MB / 0.67 GB
Notification: Performance of matching and sorting (n=94) (initialization): time 0.001985/0.7171, allocations: 0.8647 MB / 0.8953 GB, free: 9.227 MB / 0.67 GB
Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.7171, allocations: 8 kB / 0.8953 GB, free: 9.219 MB / 0.67 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.7171, allocations: 0 / 0.8953 GB, free: 9.219 MB / 0.67 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005819/0.7177, allocations: 80.88 kB / 0.8954 GB, free: 9.137 MB / 0.67 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006351/0.7183, allocations: 159.7 kB / 0.8956 GB, free: 8.98 MB / 0.67 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.7205, allocations: 1.543 MB / 0.8971 GB, free: 7.316 MB / 0.67 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006771/0.7211, allocations: 95.55 kB / 0.8972 GB, free: 7.223 MB / 0.67 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.896e-05/0.7212, allocations: 39.98 kB / 0.8972 GB, free: 7.184 MB / 0.67 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.0004666/0.7217, allocations: 291.4 kB / 0.8975 GB, free: 6.891 MB / 0.67 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.7218, allocations: 103.3 kB / 0.8976 GB, free: 6.789 MB / 0.67 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002376/0.7242, allocations: 1.073 MB / 0.8986 GB, free: 5.715 MB / 0.67 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/0.7242, allocations: 12 kB / 0.8986 GB, free: 5.703 MB / 0.67 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.7242, allocations: 0 / 0.8986 GB, free: 5.703 MB / 0.67 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.7242, allocations: 8.797 kB / 0.8987 GB, free: 5.695 MB / 0.67 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.7254, allocations: 0.9769 MB / 0.8996 GB, free: 4.672 MB / 0.67 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.7254, allocations: 4 kB / 0.8996 GB, free: 4.668 MB / 0.67 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005569/0.726, allocations: 147.7 kB / 0.8998 GB, free: 4.523 MB / 0.67 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000432/0.7264, allocations: 72.78 kB / 0.8998 GB, free: 4.449 MB / 0.67 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.216e-05/0.7265, allocations: 27.98 kB / 0.8999 GB, free: 4.422 MB / 0.67 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/0.7284, allocations: 1.567 MB / 0.9014 GB, free: 2.734 MB / 0.67 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7284, allocations: 0 / 0.9014 GB, free: 2.734 MB / 0.67 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.7304, allocations: 0.9516 MB / 0.9023 GB, free: 1.762 MB / 0.67 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004253/0.7308, allocations: 215.1 kB / 0.9025 GB, free: 1.551 MB / 0.67 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.7309, allocations: 16 kB / 0.9025 GB, free: 1.535 MB / 0.67 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005692/0.7315, allocations: 67.48 kB / 0.9026 GB, free: 1.473 MB / 0.67 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/0.7316, allocations: 72.86 kB / 0.9027 GB, free: 1.402 MB / 0.67 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.45e-05/0.7317, allocations: 35.98 kB / 0.9027 GB, free: 1.367 MB / 0.67 GB
Notification: Performance of sorting global known variables: time 0.0007128/0.7324, allocations: 0.5619 MB / 0.9032 GB, free: 0.793 MB / 0.67 GB
Notification: Performance of sort global known variables: time 6e-08/0.7324, allocations: 0 / 0.9032 GB, free: 0.793 MB / 0.67 GB
Notification: Performance of remove unused functions: time 0.0008052/0.7332, allocations: 355 kB / 0.9036 GB, free: 456 kB / 0.67 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.001777/0.735, allocations: 0.5905 MB / 0.9042 GB, free: 28 kB / 0.67 GB
Notification: Performance of simCode: created initialization part: time 0.001646/0.7366, allocations: 0.8001 MB / 0.9049 GB, free: 15.21 MB / 0.6856 GB
Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.7366, allocations: 0 / 0.9049 GB, free: 15.21 MB / 0.6856 GB
Notification: Performance of simCode: created simulation system equations: time 0.0008898/0.7375, allocations: 0.4884 MB / 0.9054 GB, free: 14.71 MB / 0.6856 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.7391, allocations: 480 kB / 0.9059 GB, free: 14.29 MB / 0.6856 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.7427, allocations: 1.955 MB / 0.9078 GB, free: 12.3 MB / 0.6856 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000729/0.7435, allocations: 1.094 MB / 0.9089 GB, free: 11.18 MB / 0.6856 GB
Notification: Performance of simCode: alias equations: time 0.0008931/0.7444, allocations: 287.7 kB / 0.9091 GB, free: 10.89 MB / 0.6856 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002626/0.7446, allocations: 111.4 kB / 0.9092 GB, free: 10.79 MB / 0.6856 GB
Notification: Performance of SimCode: time 9.42e-07/0.7446, allocations: 0 / 0.9092 GB, free: 10.79 MB / 0.6856 GB
Notification: Performance of Templates: time 0.03482/0.7794, allocations: 18.05 MB / 0.9269 GB, free: 8.887 MB / 0.7012 GB
"
[Timeout remaining time 659]
make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.424886936321855]
Failed to read output from testmodel.py, exit status != 0:
0.7879588594660163 0.801963443 0.10886010900000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f51998397b0>