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.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.001304/0.001304, allocations: 117.8 kB / 19.69 MB, free: 2.199 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.001661/0.001661, allocations: 225 kB / 23.01 MB, free: 5.043 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9811/0.9811, allocations: 150 MB / 463.2 MB, free: 10.53 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002065/0.002065, allocations: 70.64 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1859, allocations: 89.17 MB / 0.7284 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001796/0.1877, allocations: 0.6277 MB / 0.729 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.1895, allocations: 1.377 MB / 0.7303 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.1895, allocations: 0 / 0.7303 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.1896, allocations: 3.938 kB / 0.7304 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.477e-05/0.1896, allocations: 0 / 0.7304 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.19, allocations: 79.67 kB / 0.7304 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.664e-05/0.1901, allocations: 23.97 kB / 0.7305 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.1901, allocations: 0 / 0.7305 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.347e-05/0.1901, allocations: 15.94 kB / 0.7305 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.11e-05/0.1902, allocations: 7.984 kB / 0.7305 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.1902, allocations: 0 / 0.7305 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.1906, allocations: 123.9 kB / 0.7306 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.1906, allocations: 15.92 kB / 0.7306 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.939e-05/0.1906, allocations: 11.92 kB / 0.7306 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.1908, allocations: 72.02 kB / 0.7307 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1908, allocations: 0 / 0.7307 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1908, allocations: 0 / 0.7307 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.1908, allocations: 4 kB / 0.7307 GB, free: 14.92 MB / 0.5606 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.0005222/0.1913, allocations: 278.2 kB / 0.731 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1914, allocations: 12.03 kB / 0.731 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.521e-05/0.1914, allocations: 34.75 kB / 0.731 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.1915, allocations: 4.922 kB / 0.731 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.1916, allocations: 114.5 kB / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1916, allocations: 4.375 kB / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.1916, allocations: 4.375 kB / 0.7311 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1918, allocations: 57.75 kB / 0.7312 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1918, allocations: 3.984 kB / 0.7312 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1918, allocations: 0 / 0.7312 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.1918, allocations: 0 / 0.7312 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.367e-05/0.1919, allocations: 27.98 kB / 0.7312 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.1921, allocations: 140.6 kB / 0.7313 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.1922, allocations: 62.48 kB / 0.7314 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/0.1923, allocations: 20.84 kB / 0.7314 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/0.1925, allocations: 39.97 kB / 0.7315 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.485e-05/0.1926, allocations: 34.5 kB / 0.7315 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1926, allocations: 0 / 0.7315 GB, free: 13.96 MB / 0.5606 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.01952/0.2121, allocations: 4.166 MB / 0.7356 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.2121, allocations: 55.41 kB / 0.7356 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/0.2122, allocations: 93.84 kB / 0.7357 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.357e-05/0.2123, allocations: 29.7 kB / 0.7357 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.146e-05/0.2123, allocations: 80.14 kB / 0.7358 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.2125, allocations: 63.47 kB / 0.7359 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/0.2128, allocations: 89.67 kB / 0.736 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2129, allocations: 322.9 kB / 0.7363 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/0.2135, allocations: 315.8 kB / 0.7366 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005298/0.214, allocations: 311.9 kB / 0.7369 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.2156, allocations: 0.7701 MB / 0.7376 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2156, allocations: 0 / 0.7376 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001606/0.2172, allocations: 0.7963 MB / 0.7384 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.2172, allocations: 4 kB / 0.7384 GB, free: 6.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.2172, allocations: 7.938 kB / 0.7384 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2172, allocations: 0 / 0.7384 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008294/0.218, allocations: 103.9 kB / 0.7385 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.2181, allocations: 0 / 0.7385 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/0.2185, allocations: 8 kB / 0.7385 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.08e-05/0.2186, allocations: 35.97 kB / 0.7385 GB, free: 6.605 MB / 0.5606 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.0002166/0.2188, allocations: 123.8 kB / 0.7387 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.232e-05/0.2189, allocations: 7.953 kB / 0.7387 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/0.2221, allocations: 1.4 MB / 0.74 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.2222, allocations: 4 kB / 0.74 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2222, allocations: 0 / 0.74 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.2222, allocations: 3.984 kB / 0.74 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/0.2254, allocations: 1.782 MB / 0.7418 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2254, allocations: 0 / 0.7418 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007797/0.2262, allocations: 107.9 kB / 0.7419 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2262, allocations: 8.031 kB / 0.7419 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/0.2263, allocations: 31.88 kB / 0.7419 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.2263, allocations: 4 kB / 0.7419 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2263, allocations: 0 / 0.7419 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.2287, allocations: 1.466 MB / 0.7434 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.2287, allocations: 23.86 kB / 0.7434 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.959e-05/0.2288, allocations: 7.938 kB / 0.7434 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004949/0.2293, allocations: 16.06 kB / 0.7434 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.2295, allocations: 47.94 kB / 0.7435 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.092e-05/0.2295, allocations: 28 kB / 0.7435 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.211e-05/0.2296, allocations: 79.28 kB / 0.7436 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2296, allocations: 0 / 0.7436 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006362/0.2302, allocations: 183.7 kB / 0.7437 GB, free: 1.199 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.003257/0.2335, allocations: 2.139 MB / 0.7458 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001274/0.2348, allocations: 0.7145 MB / 0.7465 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.2348, allocations: 0 / 0.7465 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006306/0.2354, allocations: 400 kB / 0.7469 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.2357, allocations: 12 kB / 0.7469 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007572/0.2433, allocations: 3.736 MB / 0.7506 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.2436, allocations: 0.7141 MB / 0.7513 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001024/0.2447, allocations: 289.5 kB / 0.7515 GB, free: 9.074 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000595/0.2453, allocations: 115.4 kB / 0.7516 GB, free: 8.961 MB / 0.5762 GB Notification: Performance of SimCode: time 7.42e-07/0.2453, allocations: 3.938 kB / 0.7516 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8708/1.116, allocations: 13.46 MB / 0.7648 GB, free: 35.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/12.37, allocations: 5.938 kB / 0.7648 GB, free: 35.5 MB / 0.5762 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.153555013006553] Failed to read output from testmodel.py, exit status != 0: 12.484199586790055 12.509239717 12.313467929 Calling exit ...