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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 213.2 kB / 22.99 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.8972/0.8972, allocations: 145 MB / 458.2 MB, free: 15.3 MB / 366.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002341/0.002341, allocations: 66.56 kB / 0.6344 GB, free: 6.168 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1782, allocations: 87.89 MB / 0.7202 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00232/0.1805, allocations: 0.6182 MB / 0.7208 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002375/0.1828, allocations: 1.303 MB / 0.7221 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.871e-05/0.1829, allocations: 0 / 0.7221 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.133e-05/0.1829, allocations: 0 / 0.7221 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.255e-05/0.1829, allocations: 0 / 0.7221 GB, free: 12.35 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005081/0.1834, allocations: 91.66 kB / 0.7222 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.194e-05/0.1835, allocations: 23.92 kB / 0.7222 GB, free: 12.24 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.215e-05/0.1836, allocations: 4 kB / 0.7222 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.597e-05/0.1836, allocations: 8 kB / 0.7222 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.09e-05/0.1837, allocations: 15.91 kB / 0.7222 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1837, allocations: 4 kB / 0.7222 GB, free: 12.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003548/0.184, allocations: 111.9 kB / 0.7223 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.259e-05/0.1841, allocations: 0 / 0.7223 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.1841, allocations: 19.86 kB / 0.7223 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.1843, allocations: 75.78 kB / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1843, allocations: 0 / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1843, allocations: 0 / 0.7224 GB, free: 12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.1843, allocations: 0 / 0.7224 GB, free: 12 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.0005181/0.1848, allocations: 278.1 kB / 0.7227 GB, free: 11.7 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.1848, allocations: 12.03 kB / 0.7227 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.1849, allocations: 0.9375 kB / 0.7227 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.185, allocations: 114.5 kB / 0.7228 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.185, allocations: 4.375 kB / 0.7228 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.456e-05/0.1851, allocations: 12.34 kB / 0.7228 GB, free: 11.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.1853, allocations: 83.7 kB / 0.7229 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.1853, allocations: 0 / 0.7229 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.1853, allocations: 0 / 0.7229 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-06/0.1853, allocations: 4 kB / 0.7229 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.054e-05/0.1854, allocations: 27.91 kB / 0.7229 GB, free: 11.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.1856, allocations: 113.3 kB / 0.723 GB, free: 11.27 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.1857, allocations: 50.56 kB / 0.7231 GB, free: 11.21 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.1858, allocations: 24.84 kB / 0.7231 GB, free: 11.19 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002749/0.186, allocations: 39.97 kB / 0.7231 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.1861, allocations: 34.56 kB / 0.7232 GB, free: 11.11 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.1861, allocations: 0 / 0.7232 GB, free: 11.11 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.02074/0.2068, allocations: 4.177 MB / 0.7272 GB, free: 6.836 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.2069, allocations: 59.34 kB / 0.7273 GB, free: 6.766 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.468e-05/0.2069, allocations: 93.86 kB / 0.7274 GB, free: 6.664 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.761e-05/0.207, allocations: 29.7 kB / 0.7274 GB, free: 6.629 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.2071, allocations: 84.14 kB / 0.7275 GB, free: 6.543 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.2072, allocations: 59.47 kB / 0.7276 GB, free: 6.484 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/0.2074, allocations: 89.67 kB / 0.7276 GB, free: 6.391 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.2076, allocations: 322.8 kB / 0.728 GB, free: 6.066 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005715/0.2082, allocations: 311.8 kB / 0.7282 GB, free: 5.762 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005634/0.2087, allocations: 307.9 kB / 0.7285 GB, free: 5.461 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.2104, allocations: 0.7722 MB / 0.7293 GB, free: 4.688 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2104, allocations: 4.062 kB / 0.7293 GB, free: 4.684 MB / 0.545 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001684/0.2121, allocations: 0.8082 MB / 0.7301 GB, free: 3.871 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.2121, allocations: 4 kB / 0.7301 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.2121, allocations: 4 kB / 0.7301 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.2121, allocations: 0 / 0.7301 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008492/0.213, allocations: 91.94 kB / 0.7302 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.213, allocations: 0 / 0.7302 GB, free: 3.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005555/0.2136, allocations: 12 kB / 0.7302 GB, free: 3.762 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-05/0.2136, allocations: 27.98 kB / 0.7302 GB, free: 3.734 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.0002149/0.2139, allocations: 129.7 kB / 0.7303 GB, free: 3.598 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/0.2139, allocations: 7.953 kB / 0.7304 GB, free: 3.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/0.2172, allocations: 1.392 MB / 0.7317 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.2172, allocations: 7.984 kB / 0.7317 GB, free: 2.176 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.2172, allocations: 8 kB / 0.7317 GB, free: 2.168 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.2172, allocations: 3.984 kB / 0.7317 GB, free: 2.164 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.2203, allocations: 1.662 MB / 0.7334 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2203, allocations: 0 / 0.7334 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008378/0.2212, allocations: 111.9 kB / 0.7335 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.787e-06/0.2212, allocations: 4 kB / 0.7335 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-05/0.2212, allocations: 31.94 kB / 0.7335 GB, free: 324 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.2213, allocations: 7.938 kB / 0.7335 GB, free: 316 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.2213, allocations: 3.938 kB / 0.7335 GB, free: 312 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.2238, allocations: 1.458 MB / 0.7349 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.2238, allocations: 23.88 kB / 0.735 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.632e-05/0.2239, allocations: 4 kB / 0.735 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005379/0.2245, allocations: 16.09 kB / 0.735 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.2246, allocations: 47.89 kB / 0.735 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.208e-05/0.2247, allocations: 31.98 kB / 0.735 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.75e-05/0.2247, allocations: 79.28 kB / 0.7351 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2247, allocations: 0 / 0.7351 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005959/0.2253, allocations: 179.7 kB / 0.7353 GB, free: 14.45 MB / 0.5606 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.0005599/0.2259, allocations: 235.3 kB / 0.7355 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.2272, allocations: 0.7183 MB / 0.7362 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.2272, allocations: 4.094 kB / 0.7362 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006565/0.2279, allocations: 403.7 kB / 0.7366 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.2282, allocations: 16.69 kB / 0.7366 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.2318, allocations: 0.806 MB / 0.7374 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.2319, allocations: 103.5 kB / 0.7375 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005529/0.2325, allocations: 99.34 kB / 0.7376 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of SimCode: time 9.41e-07/0.2325, allocations: 4.062 kB / 0.7376 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.01243/0.2449, allocations: 7.154 MB / 0.7446 GB, free: 4.945 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 os._exit(0), Time elapsed: 8.579908626154065] Failed to read output from testmodel.py, exit status != 0: 0.253914050757885 0.576307734 0.388858473 Calling exit ...