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.001976/0.001976, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.002548/0.002548, allocations: 217.2 kB / 22.99 MB, free: 4.977 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.594/1.594, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9814/0.9814, allocations: 149.9 MB / 463 MB, free: 10.38 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.002314/0.002314, allocations: 72.56 kB / 0.6411 GB, free: 10.07 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1943, allocations: 89.17 MB / 0.7282 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001921/0.1962, allocations: 0.6149 MB / 0.7288 GB, free: 384 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.1983, allocations: 1.299 MB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.1983, allocations: 0 / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.1983, allocations: 0 / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.04e-05/0.1984, allocations: 0 / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.1988, allocations: 89.64 kB / 0.7302 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.453e-05/0.1989, allocations: 23.91 kB / 0.7302 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.1989, allocations: 7.984 kB / 0.7302 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.279e-05/0.199, allocations: 8 kB / 0.7302 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.799e-05/0.199, allocations: 11.92 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.199, allocations: 4 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003086/0.1994, allocations: 111.9 kB / 0.7303 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.1994, allocations: 11.92 kB / 0.7303 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.1994, allocations: 15.94 kB / 0.7303 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.1996, allocations: 76 kB / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.1996, allocations: 0 / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1996, allocations: 0 / 0.7304 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1996, allocations: 0 / 0.7304 GB, free: 14.71 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.000463/0.2, allocations: 278.2 kB / 0.7307 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.2001, allocations: 12.03 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.2001, allocations: 34.75 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.2002, allocations: 4.938 kB / 0.7307 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.2003, allocations: 106.5 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.2003, allocations: 8.375 kB / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.2003, allocations: 384 / 0.7308 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.2005, allocations: 87.48 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.2005, allocations: 4 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.2005, allocations: 3.938 kB / 0.7309 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2005, allocations: 3.984 kB / 0.7309 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.539e-05/0.2006, allocations: 23.98 kB / 0.731 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.2008, allocations: 144.6 kB / 0.7311 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.2009, allocations: 54.5 kB / 0.7311 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.624e-05/0.2009, allocations: 32.83 kB / 0.7312 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002511/0.2012, allocations: 35.97 kB / 0.7312 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.262e-05/0.2012, allocations: 42.44 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.2012, allocations: 0 / 0.7313 GB, free: 13.71 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.0207/0.2219, allocations: 4.151 MB / 0.7353 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.222, allocations: 59.41 kB / 0.7354 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.907e-05/0.2221, allocations: 93.84 kB / 0.7355 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.104e-05/0.2221, allocations: 25.7 kB / 0.7355 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.2222, allocations: 88.14 kB / 0.7356 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.2223, allocations: 55.47 kB / 0.7356 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002539/0.2226, allocations: 93.67 kB / 0.7357 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.2228, allocations: 326.8 kB / 0.736 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000618/0.2234, allocations: 303.9 kB / 0.7363 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006122/0.224, allocations: 308 kB / 0.7366 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.2258, allocations: 0.7799 MB / 0.7374 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2258, allocations: 0 / 0.7374 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001715/0.2275, allocations: 0.8008 MB / 0.7381 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.2275, allocations: 11.94 kB / 0.7382 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.2275, allocations: 0 / 0.7382 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.2276, allocations: 0 / 0.7382 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008967/0.2285, allocations: 91.94 kB / 0.7382 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.354e-05/0.2285, allocations: 0 / 0.7382 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.229, allocations: 12 kB / 0.7383 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.771e-05/0.2291, allocations: 39.91 kB / 0.7383 GB, free: 6.359 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.0002252/0.2293, allocations: 121.7 kB / 0.7384 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/0.2294, allocations: 7.953 kB / 0.7384 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003517/0.2329, allocations: 1.403 MB / 0.7398 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.2329, allocations: 4 kB / 0.7398 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.233, allocations: 0 / 0.7398 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.233, allocations: 3.984 kB / 0.7398 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/0.2364, allocations: 1.696 MB / 0.7415 GB, free: 3.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.2364, allocations: 3.984 kB / 0.7415 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008651/0.2373, allocations: 107.9 kB / 0.7416 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/0.2373, allocations: 4 kB / 0.7416 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.47e-05/0.2374, allocations: 31.92 kB / 0.7416 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.2374, allocations: 0 / 0.7416 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.2374, allocations: 4 kB / 0.7416 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.2401, allocations: 1.462 MB / 0.743 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.2401, allocations: 19.97 kB / 0.743 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.04e-05/0.2402, allocations: 11.94 kB / 0.7431 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005455/0.2407, allocations: 12 kB / 0.7431 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.2409, allocations: 43.95 kB / 0.7431 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.426e-05/0.241, allocations: 31.98 kB / 0.7431 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.792e-05/0.241, allocations: 83.22 kB / 0.7432 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.241, allocations: 0 / 0.7432 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006403/0.2416, allocations: 179.7 kB / 0.7434 GB, free: 1.043 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.003572/0.2452, allocations: 2.131 MB / 0.7455 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001437/0.2467, allocations: 0.7184 MB / 0.7462 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.2467, allocations: 0 / 0.7462 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007043/0.2474, allocations: 400 kB / 0.7466 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.2477, allocations: 16 kB / 0.7466 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008735/0.2564, allocations: 3.716 MB / 0.7502 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.2565, allocations: 107.6 kB / 0.7503 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001214/0.2578, allocations: 289.5 kB / 0.7506 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005793/0.2583, allocations: 111.4 kB / 0.7507 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of SimCode: time 1.373e-06/0.2583, allocations: 4 kB / 0.7507 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4032/0.6615, allocations: 14.07 MB / 0.7644 GB, free: 35.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.06, allocations: 3.906 kB / 0.7644 GB, free: 35.25 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: 15.982515220995992] Failed to read output from testmodel.py, exit status != 0: 12.182024394162 12.208303188 12.003517655 Calling exit ...