Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.001237/0.001237, allocations: 108.8 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.001307/0.001307, allocations: 192.5 kB / 22.23 MB, free: 5.16 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.438/1.438, 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/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8419/0.8419, allocations: 134 MB / 440.3 MB, free: 208 kB / 334.1 MB
"
[Timeout remaining time 179]
Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature")
translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 64.47 kB / 0.6108 GB, free: 13.66 MB / 446.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2044, allocations: 84.73 MB / 0.6935 GB, free: 9 MB / 0.5137 GB
Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003637/0.208, allocations: 1.868 MB / 0.6953 GB, free: 7.117 MB / 0.5137 GB
Notification: Performance of NFInst.instExpressions: time 0.002725/0.2107, allocations: 1.698 MB / 0.697 GB, free: 5.414 MB / 0.5137 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.828e-05/0.2108, allocations: 0 / 0.697 GB, free: 5.414 MB / 0.5137 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.2111, allocations: 31.77 kB / 0.697 GB, free: 5.383 MB / 0.5137 GB
Notification: Performance of NFTyping.typeBindings: time 0.00033/0.2114, allocations: 79.56 kB / 0.6971 GB, free: 5.305 MB / 0.5137 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005474/0.212, allocations: 164.8 kB / 0.6972 GB, free: 5.148 MB / 0.5137 GB
Notification: Performance of NFFlatten.flatten: time 0.0003493/0.2123, allocations: 281.4 kB / 0.6975 GB, free: 4.875 MB / 0.5137 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.2124, allocations: 21.3 kB / 0.6975 GB, free: 4.855 MB / 0.5137 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.2125, allocations: 103.7 kB / 0.6976 GB, free: 4.754 MB / 0.5137 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002479/0.2128, allocations: 103.7 kB / 0.6977 GB, free: 4.652 MB / 0.5137 GB
Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.2128, allocations: 20 kB / 0.6977 GB, free: 4.633 MB / 0.5137 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.213, allocations: 79.97 kB / 0.6978 GB, free: 4.555 MB / 0.5137 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.2131, allocations: 95.67 kB / 0.6979 GB, free: 4.461 MB / 0.5137 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.2133, allocations: 123.3 kB / 0.698 GB, free: 4.34 MB / 0.5137 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.2137, allocations: 318.7 kB / 0.6983 GB, free: 4.027 MB / 0.5137 GB
Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2137, allocations: 0 / 0.6983 GB, free: 4.027 MB / 0.5137 GB
Notification: Performance of FrontEnd: time 1.372e-06/0.2137, allocations: 0 / 0.6983 GB, free: 4.027 MB / 0.5137 GB
Notification: Performance of Transformations before backend: time 7.344e-06/0.2137, allocations: 0 / 0.6983 GB, free: 4.027 MB / 0.5137 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 42
 * Number of variables: 42
Notification: Performance of Generate backend data structure: time 0.0008574/0.2146, allocations: 0.4937 MB / 0.6988 GB, free: 3.5 MB / 0.5137 GB
Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.2146, allocations: 8.031 kB / 0.6988 GB, free: 3.492 MB / 0.5137 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.2148, allocations: 32.75 kB / 0.6989 GB, free: 3.461 MB / 0.5137 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.2151, allocations: 217.1 kB / 0.6991 GB, free: 3.227 MB / 0.5137 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.2152, allocations: 20.16 kB / 0.6991 GB, free: 3.207 MB / 0.5137 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.2152, allocations: 24.12 kB / 0.6991 GB, free: 3.184 MB / 0.5137 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.2156, allocations: 228.9 kB / 0.6993 GB, free: 2.941 MB / 0.5137 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.2156, allocations: 0 / 0.6993 GB, free: 2.941 MB / 0.5137 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.872e-05/0.2157, allocations: 8 kB / 0.6993 GB, free: 2.934 MB / 0.5137 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.2157, allocations: 4 kB / 0.6993 GB, free: 2.93 MB / 0.5137 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009434/0.2166, allocations: 0.7449 MB / 0.7001 GB, free: 2.184 MB / 0.5137 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.2178, allocations: 0.605 MB / 0.7007 GB, free: 1.531 MB / 0.5137 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000512/0.2183, allocations: 278 kB / 0.7009 GB, free: 1.25 MB / 0.5137 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.2185, allocations: 105.4 kB / 0.701 GB, free: 1.145 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/0.2185, allocations: 28.19 kB / 0.701 GB, free: 1.117 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003348/0.2188, allocations: 175.4 kB / 0.7012 GB, free: 0.9336 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=35): time 1.803e-06/0.2188, allocations: 0 / 0.7012 GB, free: 0.9336 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=35): time 0.000739/0.2196, allocations: 387 kB / 0.7016 GB, free: 0.5508 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.569e-05/0.2197, allocations: 132.5 kB / 0.7017 GB, free: 400 kB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.22, allocations: 308.9 kB / 0.702 GB, free: 84 kB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 3.881e-05/0.22, allocations: 33.7 kB / 0.702 GB, free: 44 kB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.2201, allocations: 144.6 kB / 0.7022 GB, free: 15.9 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.2202, allocations: 119 kB / 0.7023 GB, free: 15.78 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.955e-05/0.2203, allocations: 65.69 kB / 0.7024 GB, free: 15.71 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001552/0.2205, allocations: 334.8 kB / 0.7027 GB, free: 15.38 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.2207, allocations: 79.95 kB / 0.7027 GB, free: 15.3 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001996/0.2209, allocations: 135.5 kB / 0.7029 GB, free: 15.15 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003485/0.2212, allocations: 209.2 kB / 0.7031 GB, free: 14.95 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2212, allocations: 4 kB / 0.7031 GB, free: 14.94 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004678/0.2217, allocations: 289 kB / 0.7034 GB, free: 14.65 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2217, allocations: 4 kB / 0.7034 GB, free: 14.65 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2217, allocations: 3.938 kB / 0.7034 GB, free: 14.64 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.079e-05/0.2217, allocations: 11.97 kB / 0.7034 GB, free: 14.63 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002302/0.2219, allocations: 59.97 kB / 0.7034 GB, free: 14.57 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.222, allocations: 0 / 0.7034 GB, free: 14.57 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.2221, allocations: 31.75 kB / 0.7035 GB, free: 14.54 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-05/0.2221, allocations: 16 kB / 0.7035 GB, free: 14.53 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 3 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (36):
 * Single equations (assignments): 36
 * 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.0001777/0.2223, allocations: 165.8 kB / 0.7036 GB, free: 14.36 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.2224, allocations: 31.81 kB / 0.7037 GB, free: 14.32 MB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007173/0.2231, allocations: 380.8 kB / 0.704 GB, free: 13.95 MB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/0.2231, allocations: 7.938 kB / 0.704 GB, free: 13.94 MB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.2231, allocations: 0 / 0.704 GB, free: 13.94 MB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.2231, allocations: 0 / 0.704 GB, free: 13.94 MB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.2235, allocations: 320.4 kB / 0.7043 GB, free: 13.58 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2235, allocations: 0 / 0.7043 GB, free: 13.58 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/0.2237, allocations: 59.91 kB / 0.7044 GB, free: 13.52 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2237, allocations: 0 / 0.7044 GB, free: 13.52 MB / 0.5294 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.2237, allocations: 8 kB / 0.7044 GB, free: 13.52 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.2237, allocations: 11.94 kB / 0.7044 GB, free: 13.5 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2237, allocations: 0 / 0.7044 GB, free: 13.5 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000498/0.2242, allocations: 326.4 kB / 0.7047 GB, free: 13.17 MB / 0.5294 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.2243, allocations: 75.62 kB / 0.7048 GB, free: 13.09 MB / 0.5294 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.2244, allocations: 8 kB / 0.7048 GB, free: 13.09 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.2246, allocations: 23.91 kB / 0.7048 GB, free: 13.06 MB / 0.5294 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.496e-05/0.2246, allocations: 27.95 kB / 0.7049 GB, free: 13.04 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.2247, allocations: 19.98 kB / 0.7049 GB, free: 13.02 MB / 0.5294 GB
Notification: Performance of sorting global known variables: time 0.0002574/0.2249, allocations: 236.5 kB / 0.7051 GB, free: 12.78 MB / 0.5294 GB
Notification: Performance of sort global known variables: time 7e-08/0.2249, allocations: 0 / 0.7051 GB, free: 12.78 MB / 0.5294 GB
Notification: Performance of remove unused functions: time 0.000309/0.2252, allocations: 67.86 kB / 0.7052 GB, free: 12.71 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 2 ($whenCondition1,conTim.tNext)
 * Number of discrete states: 1 (conTim.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (35):
 * Single equations (assignments): 34
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.00143/0.2267, allocations: 406.8 kB / 0.7056 GB, free: 12.48 MB / 0.5294 GB
Notification: Performance of simCode: created initialization part: time 0.0004514/0.2271, allocations: 223.7 kB / 0.7058 GB, free: 12.27 MB / 0.5294 GB
Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.2271, allocations: 0 / 0.7058 GB, free: 12.27 MB / 0.5294 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.2273, allocations: 119.8 kB / 0.7059 GB, free: 12.15 MB / 0.5294 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.2276, allocations: 49.98 kB / 0.7059 GB, free: 12.11 MB / 0.5294 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009428/0.2286, allocations: 0.5268 MB / 0.7064 GB, free: 11.55 MB / 0.5294 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.229, allocations: 0.7653 MB / 0.7072 GB, free: 10.77 MB / 0.5294 GB
Notification: Performance of simCode: alias equations: time 0.0003358/0.2293, allocations: 138.9 kB / 0.7073 GB, free: 10.63 MB / 0.5294 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.551e-05/0.2294, allocations: 47.41 kB / 0.7074 GB, free: 10.58 MB / 0.5294 GB
Notification: Performance of SimCode: time 8.11e-07/0.2294, allocations: 0 / 0.7074 GB, free: 10.58 MB / 0.5294 GB
Notification: Performance of Templates: time 0.008628/0.238, allocations: 3.601 MB / 0.7109 GB, free: 7.035 MB / 0.5294 GB
"
[Timeout remaining time 660]
make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 660]
(rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.6495084231719375]
Failed to read output from testmodel.py, exit status != 0:
0.2463726783171296 0.261724375 0.044774002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f4542fdd7b0>