Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.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.001464/0.001464, allocations: 113.3 kB / 19.59 MB, free: 2.301 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.001794/0.001794, allocations: 189.7 kB / 22.85 MB, free: 5.645 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.627/1.627, allocations: 225.6 MB / 251.5 MB, free: 13.06 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 1.026/1.026, allocations: 149.5 MB / 456.3 MB, free: 1.312 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.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan")
translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 73.78 kB / 0.6324 GB, free: 9.145 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2341, allocations: 87.87 MB / 0.7182 GB, free: 1.188 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Tan): time 0.002161/0.2363, allocations: 0.6607 MB / 0.7189 GB, free: 0.5312 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001219/0.2375, allocations: 0.8162 MB / 0.7197 GB, free: 15.7 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.551e-05/0.2375, allocations: 0 / 0.7197 GB, free: 15.7 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 3.775e-05/0.2376, allocations: 0 / 0.7197 GB, free: 15.7 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 7.613e-05/0.2377, allocations: 3.938 kB / 0.7197 GB, free: 15.7 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.2378, allocations: 15.97 kB / 0.7197 GB, free: 15.68 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 8.993e-05/0.2379, allocations: 27.92 kB / 0.7197 GB, free: 15.66 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.2381, allocations: 8 kB / 0.7197 GB, free: 15.65 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.015e-05/0.2381, allocations: 11.94 kB / 0.7198 GB, free: 15.64 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.46e-05/0.2382, allocations: 7.984 kB / 0.7198 GB, free: 15.63 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.2382, allocations: 4 kB / 0.7198 GB, free: 15.62 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.2382, allocations: 3.938 kB / 0.7198 GB, free: 15.62 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.2382, allocations: 4 kB / 0.7198 GB, free: 15.62 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.2382, allocations: 7.938 kB / 0.7198 GB, free: 15.61 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 9.67e-05/0.2383, allocations: 23.94 kB / 0.7198 GB, free: 15.59 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.2383, allocations: 3.938 kB / 0.7198 GB, free: 15.58 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.562e-06/0.2384, allocations: 4 kB / 0.7198 GB, free: 15.58 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 1.293e-05/0.2384, allocations: 3.938 kB / 0.7198 GB, free: 15.57 MB / 0.545 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.000552/0.2389, allocations: 259.8 kB / 0.7201 GB, free: 15.29 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.239, allocations: 8.625 kB / 0.7201 GB, free: 15.28 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.239, allocations: 8.891 kB / 0.7201 GB, free: 15.27 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.2391, allocations: 106.5 kB / 0.7202 GB, free: 15.14 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.2392, allocations: 4.375 kB / 0.7202 GB, free: 15.14 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.2392, allocations: 384 / 0.7202 GB, free: 15.14 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.2394, allocations: 54.17 kB / 0.7202 GB, free: 15.08 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.2394, allocations: 4.188 kB / 0.7202 GB, free: 15.08 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.2394, allocations: 3.938 kB / 0.7202 GB, free: 15.07 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.2394, allocations: 3.984 kB / 0.7202 GB, free: 15.07 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.2396, allocations: 35.95 kB / 0.7203 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.24, allocations: 219.9 kB / 0.7205 GB, free: 14.78 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.2401, allocations: 42.5 kB / 0.7205 GB, free: 14.73 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.993e-05/0.2402, allocations: 16.91 kB / 0.7205 GB, free: 14.71 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.2402, allocations: 0 / 0.7205 GB, free: 14.71 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.2403, allocations: 42.55 kB / 0.7206 GB, free: 14.66 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2403, allocations: 0 / 0.7206 GB, free: 14.66 MB / 0.545 GB
Notification: Performance of matching and sorting (n=2): time 0.0003836/0.2407, allocations: 85.64 kB / 0.7207 GB, free: 14.57 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.2407, allocations: 55.39 kB / 0.7207 GB, free: 14.5 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.894e-05/0.2408, allocations: 101.9 kB / 0.7208 GB, free: 14.39 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.2408, allocations: 25.7 kB / 0.7208 GB, free: 14.36 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.2409, allocations: 80.14 kB / 0.7209 GB, free: 14.28 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.2409, allocations: 7.953 kB / 0.7209 GB, free: 14.27 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-05/0.2409, allocations: 17.7 kB / 0.7209 GB, free: 14.25 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001589/0.2411, allocations: 310.8 kB / 0.7212 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.089e-05/0.2412, allocations: 20.02 kB / 0.7213 GB, free: 13.91 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.771e-05/0.2413, allocations: 15.98 kB / 0.7213 GB, free: 13.9 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.2414, allocations: 36.81 kB / 0.7213 GB, free: 13.86 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2414, allocations: 0 / 0.7213 GB, free: 13.86 MB / 0.545 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.000215/0.2416, allocations: 77.61 kB / 0.7214 GB, free: 13.78 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.2417, allocations: 7.984 kB / 0.7214 GB, free: 13.77 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2417, allocations: 4 kB / 0.7214 GB, free: 13.77 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.2417, allocations: 0 / 0.7214 GB, free: 13.77 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.657e-05/0.2418, allocations: 4 kB / 0.7214 GB, free: 13.76 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.2418, allocations: 0 / 0.7214 GB, free: 13.76 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.949e-05/0.2418, allocations: 7.984 kB / 0.7214 GB, free: 13.75 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.2419, allocations: 0 / 0.7214 GB, free: 13.75 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * 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 (2):
 * Single equations (assignments): 2
 * 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 8.608e-05/0.2419, allocations: 117.8 kB / 0.7215 GB, free: 13.63 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/0.242, allocations: 0 / 0.7215 GB, free: 13.63 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.2422, allocations: 80.89 kB / 0.7216 GB, free: 13.54 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.2422, allocations: 0 / 0.7216 GB, free: 13.54 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2422, allocations: 3.938 kB / 0.7216 GB, free: 13.54 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2422, allocations: 3.938 kB / 0.7216 GB, free: 13.54 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.2424, allocations: 128.7 kB / 0.7217 GB, free: 13.37 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2424, allocations: 0 / 0.7217 GB, free: 13.37 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.415e-05/0.2425, allocations: 16.02 kB / 0.7217 GB, free: 13.35 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.2425, allocations: 0 / 0.7217 GB, free: 13.35 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.2425, allocations: 0 / 0.7217 GB, free: 13.35 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2425, allocations: 0 / 0.7217 GB, free: 13.35 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2425, allocations: 0 / 0.7217 GB, free: 13.35 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.2428, allocations: 167.4 kB / 0.7219 GB, free: 13.17 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.542e-06/0.2428, allocations: 7.969 kB / 0.7219 GB, free: 13.16 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.2428, allocations: 4 kB / 0.7219 GB, free: 13.16 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.057e-05/0.2429, allocations: 7.984 kB / 0.7219 GB, free: 13.15 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.2429, allocations: 0 / 0.7219 GB, free: 13.15 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.2429, allocations: 0 / 0.7219 GB, free: 13.15 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 4.797e-05/0.243, allocations: 87.27 kB / 0.722 GB, free: 13.07 MB / 0.545 GB
Notification: Performance of sort global known variables: time 7e-08/0.243, allocations: 0 / 0.722 GB, free: 13.07 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002142/0.2432, allocations: 4 kB / 0.722 GB, free: 13.06 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 simulation (2):
 * Single equations (assignments): 2
 * 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.0001447/0.2433, allocations: 95.25 kB / 0.7221 GB, free: 12.96 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0002433/0.2436, allocations: 31.97 kB / 0.7221 GB, free: 12.93 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2436, allocations: 0 / 0.7221 GB, free: 12.93 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 9.479e-05/0.2437, allocations: 23.97 kB / 0.7222 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.244, allocations: 7.938 kB / 0.7222 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.2443, allocations: 110.2 kB / 0.7223 GB, free: 12.76 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.2447, allocations: 0.6807 MB / 0.7229 GB, free: 12.05 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 2.142e-05/0.2447, allocations: 0 / 0.7229 GB, free: 12.05 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.2447, allocations: 7.438 kB / 0.7229 GB, free: 12.04 MB / 0.545 GB
Notification: Performance of SimCode: time 3.81e-07/0.2447, allocations: 0 / 0.7229 GB, free: 12.04 MB / 0.545 GB
Notification: Performance of Templates: time 0.003171/0.2479, allocations: 456.1 kB / 0.7234 GB, free: 11.61 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Tan.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.21568516921252]
Failed to read output from testmodel.py, exit status != 0:
0.2574532264843583 0.27154107499999997 0.030146893
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fd4fe40d7b0>