Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin.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.001508/0.001508, allocations: 114.4 kB / 19.59 MB, free: 2.281 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.001511/0.001511, allocations: 193.2 kB / 22.85 MB, free: 5.668 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.466/1.466, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.012/1.012, allocations: 149.5 MB / 456.3 MB, free: 1.305 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.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin")
translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 72.19 kB / 0.6324 GB, free: 9.129 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.2001, allocations: 87.87 MB / 0.7182 GB, free: 1.176 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin): time 0.002144/0.2023, allocations: 0.6071 MB / 0.7188 GB, free: 0.5703 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001142/0.2034, allocations: 0.8123 MB / 0.7196 GB, free: 15.75 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.2035, allocations: 0 / 0.7196 GB, free: 15.75 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 2.767e-05/0.2035, allocations: 0 / 0.7196 GB, free: 15.75 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 5.657e-05/0.2035, allocations: 7.938 kB / 0.7196 GB, free: 15.74 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001488/0.2037, allocations: 4 kB / 0.7196 GB, free: 15.73 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 8.032e-05/0.2038, allocations: 23.92 kB / 0.7197 GB, free: 15.71 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.825e-05/0.2039, allocations: 4 kB / 0.7197 GB, free: 15.71 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.204, allocations: 15.92 kB / 0.7197 GB, free: 15.69 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.919e-05/0.204, allocations: 4 kB / 0.7197 GB, free: 15.69 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.2041, allocations: 3.984 kB / 0.7197 GB, free: 15.68 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.456e-06/0.2041, allocations: 0 / 0.7197 GB, free: 15.68 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.2041, allocations: 3.938 kB / 0.7197 GB, free: 15.68 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.2041, allocations: 11.94 kB / 0.7197 GB, free: 15.67 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 8.81e-05/0.2042, allocations: 23.91 kB / 0.7197 GB, free: 15.64 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2042, allocations: 0 / 0.7197 GB, free: 15.64 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.132e-06/0.2042, allocations: 0 / 0.7197 GB, free: 15.64 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 5.31e-06/0.2042, allocations: 0 / 0.7197 GB, free: 15.64 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: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.000438/0.2046, allocations: 251.7 kB / 0.72 GB, free: 15.37 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2047, allocations: 12.62 kB / 0.72 GB, free: 15.36 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.2047, allocations: 0.9375 kB / 0.72 GB, free: 15.36 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.2048, allocations: 110.5 kB / 0.7201 GB, free: 15.22 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.2049, allocations: 384 / 0.7201 GB, free: 15.22 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.2049, allocations: 8.359 kB / 0.7201 GB, free: 15.21 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.205, allocations: 34.25 kB / 0.7201 GB, free: 15.18 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.205, allocations: 192 / 0.7201 GB, free: 15.18 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.205, allocations: 3.938 kB / 0.7201 GB, free: 15.17 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.205, allocations: 4 kB / 0.7201 GB, free: 15.17 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.387e-05/0.2051, allocations: 15.92 kB / 0.7201 GB, free: 15.15 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/0.2053, allocations: 120.8 kB / 0.7203 GB, free: 14.99 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 8.844e-05/0.2054, allocations: 34.59 kB / 0.7203 GB, free: 14.95 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/0.2054, allocations: 8.922 kB / 0.7203 GB, free: 14.94 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.2054, allocations: 0 / 0.7203 GB, free: 14.94 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.2054, allocations: 30.56 kB / 0.7203 GB, free: 14.9 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.2055, allocations: 0 / 0.7203 GB, free: 14.9 MB / 0.545 GB
Notification: Performance of matching and sorting (n=1): time 0.000219/0.2057, allocations: 65.5 kB / 0.7204 GB, free: 14.83 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.2057, allocations: 55.53 kB / 0.7204 GB, free: 14.76 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.167e-05/0.2058, allocations: 109.8 kB / 0.7205 GB, free: 14.64 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.2058, allocations: 25.7 kB / 0.7206 GB, free: 14.61 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 5.094e-05/0.2059, allocations: 88.08 kB / 0.7207 GB, free: 14.52 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.2059, allocations: 0 / 0.7207 GB, free: 14.52 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.2059, allocations: 13.72 kB / 0.7207 GB, free: 14.5 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001465/0.2061, allocations: 310.8 kB / 0.721 GB, free: 14.19 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.558e-05/0.2061, allocations: 15.98 kB / 0.721 GB, free: 14.18 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.131e-05/0.2062, allocations: 4 kB / 0.721 GB, free: 14.17 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 7.98e-05/0.2062, allocations: 24.84 kB / 0.721 GB, free: 14.14 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2062, allocations: 0 / 0.721 GB, free: 14.14 MB / 0.545 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001337/0.2064, allocations: 45.62 kB / 0.7211 GB, free: 14.09 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2064, allocations: 4 kB / 0.7211 GB, free: 14.09 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.2064, allocations: 7.922 kB / 0.7211 GB, free: 14.08 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.2064, allocations: 4.094 kB / 0.7211 GB, free: 14.08 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.659e-05/0.2065, allocations: 4 kB / 0.7211 GB, free: 14.07 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2065, allocations: 0 / 0.7211 GB, free: 14.07 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.332e-05/0.2065, allocations: 4 kB / 0.7211 GB, free: 14.07 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.2065, allocations: 0 / 0.7211 GB, free: 14.07 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 (1):
 * Single equations (assignments): 1
 * 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.449e-05/0.2066, allocations: 113.8 kB / 0.7212 GB, free: 13.95 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.2066, allocations: 7.953 kB / 0.7212 GB, free: 13.94 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.2067, allocations: 7.094 kB / 0.7212 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.2067, allocations: 0 / 0.7212 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2067, allocations: 4 kB / 0.7212 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.2067, allocations: 3.938 kB / 0.7212 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.2068, allocations: 124.8 kB / 0.7213 GB, free: 13.76 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2068, allocations: 0 / 0.7213 GB, free: 13.76 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.2068, allocations: 4 kB / 0.7213 GB, free: 13.76 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2068, allocations: 0 / 0.7213 GB, free: 13.76 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.2068, allocations: 7.922 kB / 0.7213 GB, free: 13.75 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2068, allocations: 0 / 0.7213 GB, free: 13.75 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2068, allocations: 0 / 0.7213 GB, free: 13.75 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.207, allocations: 77.06 kB / 0.7214 GB, free: 13.66 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.278e-06/0.207, allocations: 3.938 kB / 0.7214 GB, free: 13.65 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.207, allocations: 3.938 kB / 0.7214 GB, free: 13.65 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.281e-05/0.207, allocations: 7.984 kB / 0.7214 GB, free: 13.64 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.2071, allocations: 0 / 0.7214 GB, free: 13.64 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.2071, allocations: 0 / 0.7214 GB, free: 13.64 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 5.421e-05/0.2071, allocations: 87.53 kB / 0.7215 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.2071, allocations: 3.938 kB / 0.7215 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0001899/0.2073, allocations: 8.031 kB / 0.7215 GB, free: 13.54 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 (1):
 * Single equations (assignments): 1
 * 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.0001492/0.2075, allocations: 95.23 kB / 0.7216 GB, free: 13.44 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0001565/0.2076, allocations: 19.98 kB / 0.7216 GB, free: 13.42 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2076, allocations: 0 / 0.7216 GB, free: 13.42 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 4.547e-05/0.2077, allocations: 7.938 kB / 0.7216 GB, free: 13.41 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.2078, allocations: 0 / 0.7216 GB, free: 13.41 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.2082, allocations: 114.9 kB / 0.7217 GB, free: 13.27 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.2085, allocations: 0.6768 MB / 0.7224 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 3.167e-05/0.2085, allocations: 0 / 0.7224 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.521e-05/0.2086, allocations: 7.438 kB / 0.7224 GB, free: 12.56 MB / 0.545 GB
Notification: Performance of SimCode: time 9.01e-07/0.2086, allocations: 0 / 0.7224 GB, free: 12.56 MB / 0.545 GB
Notification: Performance of Templates: time 0.002899/0.2115, allocations: 300.2 kB / 0.7227 GB, free: 12.27 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.Sin.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.004331428557634]
Failed to read output from testmodel.py, exit status != 0:
0.22144865244627 0.23821751500000002 0.030406098000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f4325b917b0>