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.001255/0.001255, allocations: 117.9 kB / 19.7 MB, free: 2.188 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.001621/0.001621, allocations: 219.7 kB / 23 MB, free: 5.004 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 8 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.9739/0.9739, allocations: 150 MB / 463.2 MB, free: 10.45 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.002067/0.002067, allocations: 71.31 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1701, allocations: 89.18 MB / 0.7284 GB, free: 1.215 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001732/0.1718, allocations: 0.6178 MB / 0.729 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001852/0.1737, allocations: 1.381 MB / 0.7303 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.532e-05/0.1737, allocations: 4 kB / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.192e-05/0.1737, allocations: 0 / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.128e-05/0.1737, allocations: 0 / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1741, allocations: 85.31 kB / 0.7304 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.523e-05/0.1742, allocations: 23.97 kB / 0.7305 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.1742, allocations: 0 / 0.7305 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.1742, allocations: 15.94 kB / 0.7305 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.263e-05/0.1743, allocations: 11.98 kB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.928e-06/0.1743, allocations: 0 / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.1746, allocations: 115.9 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.1746, allocations: 15.92 kB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.236e-05/0.1746, allocations: 7.922 kB / 0.7306 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.1748, allocations: 76.02 kB / 0.7307 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.1748, allocations: 4 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1748, allocations: 3.938 kB / 0.7307 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.1748, allocations: 0 / 0.7307 GB, free: 14.85 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.0004391/0.1752, allocations: 282.2 kB / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1753, allocations: 8.031 kB / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.1753, allocations: 34.73 kB / 0.731 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.1753, allocations: 4.938 kB / 0.731 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1754, allocations: 110.5 kB / 0.7311 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.1754, allocations: 4.375 kB / 0.7311 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.028e-05/0.1755, allocations: 4.375 kB / 0.7311 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.1756, allocations: 61.78 kB / 0.7312 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1756, allocations: 0 / 0.7312 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/0.1756, allocations: 0 / 0.7312 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1756, allocations: 0 / 0.7312 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.915e-05/0.1757, allocations: 27.92 kB / 0.7312 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.1759, allocations: 140.6 kB / 0.7313 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.176, allocations: 58.56 kB / 0.7314 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.176, allocations: 24.84 kB / 0.7314 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002454/0.1763, allocations: 31.97 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.129e-05/0.1763, allocations: 38.5 kB / 0.7315 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.1763, allocations: 0 / 0.7315 GB, free: 13.9 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.0198/0.1961, allocations: 4.171 MB / 0.7356 GB, free: 9.645 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.1962, allocations: 51.41 kB / 0.7356 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.231e-05/0.1963, allocations: 101.8 kB / 0.7357 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.038e-05/0.1963, allocations: 29.83 kB / 0.7357 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.1964, allocations: 80.14 kB / 0.7358 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.1965, allocations: 63.47 kB / 0.7359 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/0.1967, allocations: 93.67 kB / 0.736 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1969, allocations: 318.8 kB / 0.7363 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/0.1974, allocations: 311.9 kB / 0.7366 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005385/0.198, allocations: 306.5 kB / 0.7369 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001561/0.1995, allocations: 0.774 MB / 0.7376 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1995, allocations: 4 kB / 0.7376 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001622/0.2011, allocations: 0.8039 MB / 0.7384 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.2012, allocations: 4 kB / 0.7384 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.2012, allocations: 0 / 0.7384 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.892e-05/0.2012, allocations: 3.984 kB / 0.7384 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008441/0.202, allocations: 91.95 kB / 0.7385 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.2021, allocations: 4 kB / 0.7385 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004814/0.2025, allocations: 8 kB / 0.7385 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/0.2026, allocations: 39.97 kB / 0.7385 GB, free: 6.535 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.0002101/0.2028, allocations: 125.7 kB / 0.7387 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-05/0.2029, allocations: 7.953 kB / 0.7387 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003553/0.2065, allocations: 1.392 MB / 0.74 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.2065, allocations: 7.938 kB / 0.74 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2065, allocations: 0 / 0.74 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.2065, allocations: 7.922 kB / 0.7401 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.2096, allocations: 1.786 MB / 0.7418 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.2096, allocations: 0 / 0.7418 GB, free: 3.137 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008009/0.2104, allocations: 103.9 kB / 0.7419 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.2104, allocations: 4 kB / 0.7419 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.84e-05/0.2105, allocations: 31.88 kB / 0.7419 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.124e-06/0.2105, allocations: 7.938 kB / 0.7419 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2105, allocations: 0 / 0.7419 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.2131, allocations: 1.466 MB / 0.7434 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.924e-05/0.2131, allocations: 15.88 kB / 0.7434 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-05/0.2132, allocations: 11.94 kB / 0.7434 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005026/0.2137, allocations: 16 kB / 0.7434 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.2138, allocations: 39.94 kB / 0.7434 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.329e-05/0.2139, allocations: 32 kB / 0.7435 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.379e-05/0.2139, allocations: 79.34 kB / 0.7436 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2139, allocations: 0 / 0.7436 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005953/0.2145, allocations: 187.7 kB / 0.7437 GB, free: 1.129 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.003298/0.2178, allocations: 2.139 MB / 0.7458 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001359/0.2192, allocations: 0.7106 MB / 0.7465 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2192, allocations: 4 kB / 0.7465 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006563/0.2199, allocations: 400 kB / 0.7469 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.2202, allocations: 13.69 kB / 0.7469 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007787/0.228, allocations: 3.727 MB / 0.7506 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.2283, allocations: 0.7181 MB / 0.7513 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001032/0.2293, allocations: 293.5 kB / 0.7515 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005925/0.2299, allocations: 115.4 kB / 0.7516 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/0.2299, allocations: 0 / 0.7516 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3995/0.6294, allocations: 13.46 MB / 0.7648 GB, free: 35.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.77, allocations: 5.781 kB / 0.7648 GB, free: 35.48 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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: 15.619785907001642] Failed to read output from testmodel.py, exit status != 0: 11.877318243998161 11.897196358 11.718728719 Calling exit ...