Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.001539/0.001539, allocations: 114.8 kB / 19.69 MB, free: 2.188 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.001704/0.001704, allocations: 185.5 kB / 22.98 MB, free: 5.012 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.503/1.503, allocations: 225.6 MB / 251.8 MB, free: 13.03 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.9814/0.9814, allocations: 149.6 MB / 456.6 MB, free: 1.176 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.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck")
translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002878/0.002878, allocations: 69.34 kB / 0.6329 GB, free: 8.918 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2436, allocations: 87.87 MB / 0.7187 GB, free: 0.9688 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002093/0.2457, allocations: 0.6211 MB / 0.7193 GB, free: 360 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.002064/0.2478, allocations: 1.299 MB / 0.7206 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.2478, allocations: 0 / 0.7206 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 1.787e-05/0.2478, allocations: 3.938 kB / 0.7206 GB, free: 15.03 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 3.109e-05/0.2479, allocations: 0 / 0.7206 GB, free: 15.03 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.2484, allocations: 71.73 kB / 0.7207 GB, free: 14.96 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 7.83e-05/0.2484, allocations: 23.98 kB / 0.7207 GB, free: 14.94 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.122e-05/0.2485, allocations: 8 kB / 0.7207 GB, free: 14.93 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.2485, allocations: 15.91 kB / 0.7207 GB, free: 14.91 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.656e-05/0.2486, allocations: 11.98 kB / 0.7207 GB, free: 14.9 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.2486, allocations: 4 kB / 0.7207 GB, free: 14.9 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002486/0.2489, allocations: 103.8 kB / 0.7208 GB, free: 14.8 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.954e-05/0.2489, allocations: 7.922 kB / 0.7208 GB, free: 14.79 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.2489, allocations: 11.94 kB / 0.7208 GB, free: 14.78 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.000198/0.2491, allocations: 75.72 kB / 0.7209 GB, free: 14.7 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.2491, allocations: 0 / 0.7209 GB, free: 14.7 MB / 0.545 GB
Notification: Performance of FrontEnd: time 3.266e-06/0.2491, allocations: 4 kB / 0.7209 GB, free: 14.7 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 6.552e-06/0.2492, allocations: 0 / 0.7209 GB, free: 14.7 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: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.0005943/0.2497, allocations: 270.2 kB / 0.7212 GB, free: 14.41 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 6.361e-05/0.2498, allocations: 12.62 kB / 0.7212 GB, free: 14.39 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.2499, allocations: 4.891 kB / 0.7212 GB, free: 14.39 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.25, allocations: 106.5 kB / 0.7213 GB, free: 14.26 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.25, allocations: 4.375 kB / 0.7213 GB, free: 14.26 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.2501, allocations: 8.359 kB / 0.7213 GB, free: 14.25 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.2502, allocations: 61.94 kB / 0.7214 GB, free: 14.18 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.2502, allocations: 0 / 0.7214 GB, free: 14.18 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.2502, allocations: 0 / 0.7214 GB, free: 14.18 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2502, allocations: 0 / 0.7214 GB, free: 14.18 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.329e-05/0.2503, allocations: 27.97 kB / 0.7214 GB, free: 14.16 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.2505, allocations: 132.8 kB / 0.7215 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.2507, allocations: 54.56 kB / 0.7216 GB, free: 13.92 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.2507, allocations: 24.84 kB / 0.7216 GB, free: 13.89 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002899/0.251, allocations: 39.91 kB / 0.7216 GB, free: 13.86 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.251, allocations: 34.5 kB / 0.7217 GB, free: 13.81 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.2511, allocations: 0 / 0.7217 GB, free: 13.81 MB / 0.545 GB
Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default
========================================
1: x
2: deltax
Please use -d=bltdump for more information.
Notification: Performance of matching and sorting (n=17): time 0.02026/0.2713, allocations: 4.156 MB / 0.7257 GB, free: 9.555 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.096e-05/0.2714, allocations: 59.31 kB / 0.7258 GB, free: 9.484 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.012e-05/0.2715, allocations: 89.86 kB / 0.7259 GB, free: 9.387 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 7.963e-05/0.2716, allocations: 29.7 kB / 0.7259 GB, free: 9.352 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 4.86e-05/0.2716, allocations: 88.08 kB / 0.726 GB, free: 9.262 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.2717, allocations: 63.56 kB / 0.726 GB, free: 9.199 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/0.272, allocations: 93.66 kB / 0.7261 GB, free: 9.102 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001741/0.2722, allocations: 322.8 kB / 0.7264 GB, free: 8.777 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005626/0.2727, allocations: 315.9 kB / 0.7267 GB, free: 8.469 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005441/0.2733, allocations: 313.6 kB / 0.727 GB, free: 8.164 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.275, allocations: 0.7644 MB / 0.7278 GB, free: 7.398 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.275, allocations: 0 / 0.7278 GB, free: 7.398 MB / 0.545 GB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.001654/0.2766, allocations: 0.802 MB / 0.7286 GB, free: 6.59 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2766, allocations: 4 kB / 0.7286 GB, free: 6.586 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.2766, allocations: 7.984 kB / 0.7286 GB, free: 6.578 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.2767, allocations: 4 kB / 0.7286 GB, free: 6.574 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008626/0.2775, allocations: 87.95 kB / 0.7287 GB, free: 6.488 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.2775, allocations: 4.375 kB / 0.7287 GB, free: 6.484 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/0.2781, allocations: 8 kB / 0.7287 GB, free: 6.477 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.771e-05/0.2782, allocations: 31.98 kB / 0.7287 GB, free: 6.445 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 (18):
 * Single equations (assignments): 18
 * 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.000224/0.2784, allocations: 125.7 kB / 0.7288 GB, free: 6.312 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.472e-05/0.2785, allocations: 7.953 kB / 0.7288 GB, free: 6.305 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/0.2819, allocations: 1.399 MB / 0.7302 GB, free: 4.895 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.2819, allocations: 4 kB / 0.7302 GB, free: 4.891 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2819, allocations: 4 kB / 0.7302 GB, free: 4.887 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2819, allocations: 3.938 kB / 0.7302 GB, free: 4.883 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/0.2852, allocations: 1.778 MB / 0.7319 GB, free: 3.055 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.2852, allocations: 0 / 0.7319 GB, free: 3.055 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008274/0.286, allocations: 111.9 kB / 0.732 GB, free: 2.945 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.286, allocations: 0 / 0.732 GB, free: 2.945 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.906e-05/0.2861, allocations: 35.92 kB / 0.7321 GB, free: 2.91 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.2861, allocations: 0 / 0.7321 GB, free: 2.91 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2861, allocations: 0 / 0.7321 GB, free: 2.91 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.2887, allocations: 1.458 MB / 0.7335 GB, free: 1.43 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.2887, allocations: 27.86 kB / 0.7335 GB, free: 1.402 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.781e-05/0.2888, allocations: 7.938 kB / 0.7335 GB, free: 1.395 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005274/0.2893, allocations: 12 kB / 0.7335 GB, free: 1.383 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.2895, allocations: 47.89 kB / 0.7336 GB, free: 1.336 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.438e-05/0.2896, allocations: 27.94 kB / 0.7336 GB, free: 1.309 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 6.17e-05/0.2896, allocations: 83.28 kB / 0.7337 GB, free: 1.227 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.2896, allocations: 160 / 0.7337 GB, free: 1.227 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0006277/0.2902, allocations: 187.7 kB / 0.7339 GB, free: 1.043 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 1 (y_comp)
 * 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 (40):
 * Single equations (assignments): 40
 * 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.0005292/0.2908, allocations: 214.8 kB / 0.7341 GB, free: 0.8242 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.001347/0.2921, allocations: 0.7112 MB / 0.7348 GB, free: 116 kB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.2921, allocations: 4 kB / 0.7348 GB, free: 112 kB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006875/0.2928, allocations: 403.7 kB / 0.7352 GB, free: 15.71 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.2932, allocations: 32.92 kB / 0.7352 GB, free: 15.68 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.2968, allocations: 0.8041 MB / 0.736 GB, free: 14.85 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.2972, allocations: 0.7141 MB / 0.7367 GB, free: 14.11 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.001053/0.2983, allocations: 297.5 kB / 0.737 GB, free: 13.82 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005406/0.2988, allocations: 91.41 kB / 0.7371 GB, free: 13.73 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.593e-06/0.2988, allocations: 0 / 0.7371 GB, free: 13.73 MB / 0.5606 GB
Notification: Performance of Templates: time 0.01989/0.3187, allocations: 11.74 MB / 0.7485 GB, free: 2.031 MB / 0.5606 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.629004157148302]
Failed to read output from testmodel.py, exit status != 0:
0.3284944575279951 0.759025124 0.507073605
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5c612317b0>