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.001825/0.001825, allocations: 105 kB / 20.48 MB, free: 1.488 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.002234/0.002234, allocations: 214.8 kB / 23.79 MB, free: 4.703 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.475/1.475, allocations: 230.6 MB / 257.6 MB, free: 8.027 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.9962/0.9962, allocations: 150 MB / 464 MB, free: 10.51 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="cs",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.001953/0.001953, allocations: 69.94 kB / 0.6421 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1954, allocations: 89.16 MB / 0.7292 GB, free: 1.293 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001727/0.1971, allocations: 0.6261 MB / 0.7298 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002018/0.1992, allocations: 1.377 MB / 0.7311 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.429e-05/0.1992, allocations: 0 / 0.7311 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.1992, allocations: 3.938 kB / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.84e-05/0.1992, allocations: 0 / 0.7311 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005452/0.1998, allocations: 87.66 kB / 0.7312 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.217e-05/0.1999, allocations: 15.98 kB / 0.7312 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.302e-05/0.1999, allocations: 4 kB / 0.7312 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.456e-05/0.2, allocations: 15.92 kB / 0.7312 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.2001, allocations: 11.98 kB / 0.7312 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.2001, allocations: 8 kB / 0.7312 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003746/0.2005, allocations: 115.9 kB / 0.7314 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.2005, allocations: 11.92 kB / 0.7314 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.801e-05/0.2005, allocations: 7.938 kB / 0.7314 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002329/0.2007, allocations: 83.98 kB / 0.7315 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2008, allocations: 0 / 0.7315 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.654e-06/0.2008, allocations: 0 / 0.7315 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.2008, allocations: 0 / 0.7315 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.0005355/0.2013, allocations: 278.1 kB / 0.7317 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.2014, allocations: 19.97 kB / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.057e-05/0.2014, allocations: 192 / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.486e-05/0.2014, allocations: 34.73 kB / 0.7318 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.2015, allocations: 8.938 kB / 0.7318 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.2016, allocations: 102.5 kB / 0.7319 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.2016, allocations: 4.375 kB / 0.7319 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.2016, allocations: 4.375 kB / 0.7319 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.2018, allocations: 53.61 kB / 0.7319 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2018, allocations: 4 kB / 0.7319 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.2018, allocations: 4 kB / 0.7319 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2018, allocations: 0 / 0.7319 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.84e-05/0.2019, allocations: 27.92 kB / 0.732 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002328/0.2022, allocations: 144.6 kB / 0.7321 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.2023, allocations: 50.56 kB / 0.7322 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.348e-05/0.2024, allocations: 28.84 kB / 0.7322 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.2027, allocations: 43.89 kB / 0.7322 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.2027, allocations: 34.56 kB / 0.7323 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.2027, allocations: 0 / 0.7323 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.02057/0.2233, allocations: 4.16 MB / 0.7363 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.006e-05/0.2233, allocations: 59.33 kB / 0.7364 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.2235, allocations: 97.86 kB / 0.7365 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.994e-05/0.2235, allocations: 25.7 kB / 0.7365 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.959e-05/0.2236, allocations: 80.14 kB / 0.7366 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/0.2237, allocations: 59.48 kB / 0.7366 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.224, allocations: 97.73 kB / 0.7367 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.2242, allocations: 322.8 kB / 0.737 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006298/0.2249, allocations: 307.9 kB / 0.7373 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006049/0.2255, allocations: 311.9 kB / 0.7376 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001846/0.2273, allocations: 0.7796 MB / 0.7384 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2273, allocations: 0 / 0.7384 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001759/0.2291, allocations: 0.7967 MB / 0.7392 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.2291, allocations: 11.98 kB / 0.7392 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2291, allocations: 0 / 0.7392 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.2291, allocations: 0 / 0.7392 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008585/0.23, allocations: 91.95 kB / 0.7393 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.23, allocations: 0.9375 kB / 0.7393 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005244/0.2305, allocations: 8 kB / 0.7393 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.2306, allocations: 43.91 kB / 0.7393 GB, free: 6.602 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.0002549/0.2309, allocations: 117.8 kB / 0.7394 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/0.2309, allocations: 3.953 kB / 0.7394 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003437/0.2344, allocations: 1.396 MB / 0.7408 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.2344, allocations: 7.938 kB / 0.7408 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2344, allocations: 0 / 0.7408 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.2344, allocations: 3.984 kB / 0.7408 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003325/0.2377, allocations: 1.786 MB / 0.7425 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2377, allocations: 4.031 kB / 0.7426 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008322/0.2386, allocations: 103.9 kB / 0.7427 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.161e-05/0.2386, allocations: 7.938 kB / 0.7427 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.024e-05/0.2387, allocations: 28 kB / 0.7427 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.2387, allocations: 11.88 kB / 0.7427 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.386e-05/0.2387, allocations: 3.984 kB / 0.7427 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002694/0.2414, allocations: 1.454 MB / 0.7441 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.214e-05/0.2414, allocations: 23.92 kB / 0.7441 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.96e-05/0.2415, allocations: 11.94 kB / 0.7442 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005469/0.2421, allocations: 15.98 kB / 0.7442 GB, free: 1.531 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.2422, allocations: 39.95 kB / 0.7442 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.075e-05/0.2423, allocations: 32 kB / 0.7442 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.075e-05/0.2423, allocations: 75.28 kB / 0.7443 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2423, allocations: 0 / 0.7443 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007435/0.2431, allocations: 183.7 kB / 0.7445 GB, free: 1.207 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.003738/0.2468, allocations: 2.139 MB / 0.7466 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001453/0.2483, allocations: 0.7145 MB / 0.7473 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.2483, allocations: 0 / 0.7473 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000663/0.2489, allocations: 404 kB / 0.7477 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.0003351/0.2493, allocations: 20.06 kB / 0.7477 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008475/0.2577, allocations: 3.738 MB / 0.7513 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003719/0.2581, allocations: 0.7141 MB / 0.752 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001083/0.2592, allocations: 301.5 kB / 0.7523 GB, free: 9.059 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006011/0.2598, allocations: 115.4 kB / 0.7524 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.2598, allocations: 0 / 0.7524 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4071/0.6669, allocations: 13.48 MB / 0.7656 GB, free: 35.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/12.06, allocations: 15.44 kB / 0.7656 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 sys.exit(0), Time elapsed: 16.05072659999132] Failed to read output from testmodel.py, exit status != 0: 12.23153414198896 12.259962396 12.054057276 Calling exit ...