Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001495/0.001495, 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.001683/0.001683, allocations: 190.4 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.378/1.378, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180]
"[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo.
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8859/0.8859, allocations: 145 MB / 451.2 MB, free: 5.465 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck")
translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 64.03 kB / 0.6254 GB, free: 15.47 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1835, allocations: 86.72 MB / 0.71 GB, free: 8.762 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001769/0.1853, allocations: 0.6187 MB / 0.7107 GB, free: 8.145 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001677/0.1869, allocations: 1.284 MB / 0.7119 GB, free: 6.844 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.187, allocations: 3.938 kB / 0.7119 GB, free: 6.84 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.187, allocations: 3.938 kB / 0.7119 GB, free: 6.836 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 2.203e-05/0.187, allocations: 0 / 0.7119 GB, free: 6.836 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003916/0.1874, allocations: 83.72 kB / 0.712 GB, free: 6.754 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 6.504e-05/0.1875, allocations: 19.98 kB / 0.712 GB, free: 6.734 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.1875, allocations: 0 / 0.712 GB, free: 6.734 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.1875, allocations: 19.92 kB / 0.712 GB, free: 6.715 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.961e-05/0.1876, allocations: 19.91 kB / 0.712 GB, free: 6.695 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.1876, allocations: 3.938 kB / 0.7121 GB, free: 6.691 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002134/0.1878, allocations: 91.91 kB / 0.7121 GB, free: 6.602 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.1878, allocations: 11.98 kB / 0.7122 GB, free: 6.59 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.1879, allocations: 15.92 kB / 0.7122 GB, free: 6.574 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.188, allocations: 63.73 kB / 0.7122 GB, free: 6.512 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.188, allocations: 4 kB / 0.7122 GB, free: 6.508 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.543e-06/0.188, allocations: 4 kB / 0.7122 GB, free: 6.504 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 5.53e-06/0.188, allocations: 0 / 0.7122 GB, free: 6.504 MB / 0.5294 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.0004489/0.1885, allocations: 274.2 kB / 0.7125 GB, free: 6.207 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.1885, allocations: 8.031 kB / 0.7125 GB, free: 6.199 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.1886, allocations: 8.938 kB / 0.7125 GB, free: 6.191 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1887, allocations: 106.5 kB / 0.7126 GB, free: 6.062 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1887, allocations: 4.375 kB / 0.7126 GB, free: 6.059 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1887, allocations: 8.375 kB / 0.7126 GB, free: 6.051 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.1888, allocations: 61.91 kB / 0.7127 GB, free: 5.984 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1889, allocations: 0 / 0.7127 GB, free: 5.984 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1889, allocations: 8 kB / 0.7127 GB, free: 5.977 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1889, allocations: 0 / 0.7127 GB, free: 5.977 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.056e-05/0.1889, allocations: 19.98 kB / 0.7127 GB, free: 5.957 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.1891, allocations: 136.7 kB / 0.7128 GB, free: 5.781 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.1892, allocations: 58.55 kB / 0.7129 GB, free: 5.715 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.907e-05/0.1893, allocations: 32.73 kB / 0.7129 GB, free: 5.68 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002688/0.1896, allocations: 35.95 kB / 0.713 GB, free: 5.645 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.1896, allocations: 38.5 kB / 0.713 GB, free: 5.598 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.1896, allocations: 0 / 0.713 GB, free: 5.598 MB / 0.5294 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.02/0.2096, allocations: 4.15 MB / 0.7171 GB, free: 1.359 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.2097, allocations: 59.34 kB / 0.7171 GB, free: 1.289 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.975e-05/0.2097, allocations: 97.84 kB / 0.7172 GB, free: 1.184 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 7.793e-05/0.2098, allocations: 29.83 kB / 0.7172 GB, free: 1.148 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.2099, allocations: 84.14 kB / 0.7173 GB, free: 1.062 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.21, allocations: 59.47 kB / 0.7174 GB, free: 1.004 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002467/0.2102, allocations: 93.67 kB / 0.7175 GB, free: 0.9062 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.0001506/0.2104, allocations: 326.8 kB / 0.7178 GB, free: 0.5781 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005502/0.2109, allocations: 311.8 kB / 0.7181 GB, free: 280 kB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005998/0.2115, allocations: 311.9 kB / 0.7184 GB, free: 15.97 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001672/0.2132, allocations: 0.7678 MB / 0.7191 GB, free: 15.2 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2132, allocations: 3.938 kB / 0.7191 GB, free: 15.2 MB / 0.545 GB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.001628/0.2148, allocations: 0.802 MB / 0.7199 GB, free: 14.39 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.2149, allocations: 10.17 kB / 0.7199 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.2149, allocations: 7.938 kB / 0.7199 GB, free: 14.37 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.2149, allocations: 0 / 0.7199 GB, free: 14.37 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008569/0.2157, allocations: 91.94 kB / 0.72 GB, free: 14.28 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2157, allocations: 0 / 0.72 GB, free: 14.28 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005398/0.2163, allocations: 8 kB / 0.72 GB, free: 14.27 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.791e-05/0.2164, allocations: 39.91 kB / 0.7201 GB, free: 14.23 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.0002231/0.2166, allocations: 121.8 kB / 0.7202 GB, free: 14.11 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.543e-05/0.2167, allocations: 11.95 kB / 0.7202 GB, free: 14.09 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003414/0.2201, allocations: 1.388 MB / 0.7215 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.2201, allocations: 7.938 kB / 0.7215 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.2201, allocations: 0 / 0.7215 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.2201, allocations: 7.984 kB / 0.7216 GB, free: 12.68 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00323/0.2233, allocations: 1.787 MB / 0.7233 GB, free: 10.84 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.2234, allocations: 4 kB / 0.7233 GB, free: 10.84 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007896/0.2241, allocations: 103.9 kB / 0.7234 GB, free: 10.73 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.2241, allocations: 0 / 0.7234 GB, free: 10.73 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-05/0.2242, allocations: 35.94 kB / 0.7234 GB, free: 10.7 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.2242, allocations: 4 kB / 0.7234 GB, free: 10.7 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2242, allocations: 3.984 kB / 0.7234 GB, free: 10.69 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/0.2268, allocations: 1.462 MB / 0.7249 GB, free: 9.211 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.2268, allocations: 19.88 kB / 0.7249 GB, free: 9.191 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.859e-05/0.2269, allocations: 15.88 kB / 0.7249 GB, free: 9.176 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000537/0.2274, allocations: 15.98 kB / 0.7249 GB, free: 9.16 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.2275, allocations: 39.95 kB / 0.725 GB, free: 9.121 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-05/0.2276, allocations: 35.94 kB / 0.725 GB, free: 9.086 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 5.049e-05/0.2277, allocations: 79.34 kB / 0.7251 GB, free: 9.008 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.2277, allocations: 0 / 0.7251 GB, free: 9.008 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0005766/0.2283, allocations: 183.7 kB / 0.7252 GB, free: 8.828 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.0005282/0.2288, allocations: 218.8 kB / 0.7255 GB, free: 8.605 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.001289/0.2301, allocations: 0.7145 MB / 0.7261 GB, free: 7.891 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2301, allocations: 0 / 0.7261 GB, free: 7.891 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006537/0.2307, allocations: 404 kB / 0.7265 GB, free: 7.496 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.231, allocations: 16.16 kB / 0.7265 GB, free: 7.48 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.2346, allocations: 0.8078 MB / 0.7273 GB, free: 6.641 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.2349, allocations: 0.7141 MB / 0.728 GB, free: 5.898 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.0009879/0.2359, allocations: 294.5 kB / 0.7283 GB, free: 5.613 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005647/0.2365, allocations: 95.41 kB / 0.7284 GB, free: 5.52 MB / 0.545 GB
Notification: Performance of SimCode: time 5.11e-07/0.2365, allocations: 0 / 0.7284 GB, free: 5.52 MB / 0.545 GB
Notification: Performance of Templates: time 0.01795/0.2544, allocations: 11.78 MB / 0.7399 GB, free: 9.812 MB / 0.5606 GB
"
[Timeout remaining time 660]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660]
(rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.871544045396149]
Failed to read output from testmodel.py, exit status != 0:
0.2623687665909529 0.536425907 0.34589151
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f6fc373d7b0>