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.001481/0.001481, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001525/0.001525, allocations: 211.7 kB / 22.99 MB, free: 4.609 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.553/1.553, allocations: 230.6 MB / 256.8 MB, free: 7.801 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 1.077/1.077, allocations: 149.9 MB / 463 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 178] 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: translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [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.002506/0.002506, allocations: 70.2 kB / 0.6416 GB, free: 9.582 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2033, allocations: 89.17 MB / 0.7287 GB, free: 484 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002166/0.2055, allocations: 0.615 MB / 0.7293 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002232/0.2077, allocations: 1.303 MB / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.2077, allocations: 0 / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.2078, allocations: 0 / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.307e-05/0.2078, allocations: 0 / 0.7305 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.2084, allocations: 91.66 kB / 0.7306 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.46e-05/0.2085, allocations: 19.92 kB / 0.7306 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.647e-05/0.2085, allocations: 7.984 kB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.273e-05/0.2086, allocations: 4 kB / 0.7307 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.147e-05/0.2086, allocations: 19.91 kB / 0.7307 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.2087, allocations: 8 kB / 0.7307 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.209, allocations: 111.9 kB / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.2091, allocations: 0 / 0.7308 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.2091, allocations: 11.94 kB / 0.7308 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.2093, allocations: 83.7 kB / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2093, allocations: 0 / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2093, allocations: 0 / 0.7309 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.2093, allocations: 3.938 kB / 0.7309 GB, free: 14.18 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.0006235/0.21, allocations: 274.2 kB / 0.7312 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.21, allocations: 16.03 kB / 0.7312 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.2101, allocations: 0.9375 kB / 0.7312 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.2102, allocations: 110.5 kB / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.2102, allocations: 384 / 0.7313 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.2103, allocations: 4.375 kB / 0.7313 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001878/0.2105, allocations: 83.69 kB / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.2105, allocations: 0 / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.2105, allocations: 0 / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.2105, allocations: 4 kB / 0.7314 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.171e-05/0.2106, allocations: 27.86 kB / 0.7314 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.2108, allocations: 121.2 kB / 0.7315 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.2109, allocations: 62.62 kB / 0.7316 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.854e-05/0.211, allocations: 21 kB / 0.7316 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002993/0.2113, allocations: 39.95 kB / 0.7316 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.2113, allocations: 34.56 kB / 0.7317 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.2113, allocations: 0 / 0.7317 GB, free: 13.29 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.02032/0.2317, allocations: 4.163 MB / 0.7357 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.2317, allocations: 55.41 kB / 0.7358 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.528e-05/0.2318, allocations: 93.8 kB / 0.7359 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.2319, allocations: 33.7 kB / 0.7359 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.232, allocations: 80.14 kB / 0.736 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.2321, allocations: 59.48 kB / 0.736 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.2323, allocations: 89.78 kB / 0.7361 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.2325, allocations: 326.8 kB / 0.7364 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005717/0.2331, allocations: 307.9 kB / 0.7367 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.2336, allocations: 318.3 kB / 0.737 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.2353, allocations: 0.7702 MB / 0.7378 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2353, allocations: 0 / 0.7378 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00179/0.2371, allocations: 0.7958 MB / 0.7386 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2371, allocations: 8 kB / 0.7386 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.2371, allocations: 0.9375 kB / 0.7386 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.938e-05/0.2372, allocations: 3.938 kB / 0.7386 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008411/0.238, allocations: 91.94 kB / 0.7387 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.238, allocations: 4 kB / 0.7387 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005194/0.2385, allocations: 12 kB / 0.7387 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.798e-05/0.2386, allocations: 35.98 kB / 0.7387 GB, free: 5.93 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.0002651/0.2389, allocations: 125.7 kB / 0.7388 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.022e-05/0.239, allocations: 7.953 kB / 0.7388 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003245/0.2422, allocations: 1.396 MB / 0.7402 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.2422, allocations: 4 kB / 0.7402 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.2422, allocations: 0 / 0.7402 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.2422, allocations: 0 / 0.7402 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003291/0.2455, allocations: 1.662 MB / 0.7418 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2455, allocations: 0 / 0.7418 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00082/0.2464, allocations: 111.9 kB / 0.7419 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.2464, allocations: 0 / 0.7419 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-05/0.2464, allocations: 31.98 kB / 0.742 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.2465, allocations: 32 / 0.742 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.2465, allocations: 15.81 kB / 0.742 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002627/0.2491, allocations: 1.462 MB / 0.7434 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.2491, allocations: 19.86 kB / 0.7434 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.034e-05/0.2492, allocations: 8 kB / 0.7434 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005278/0.2497, allocations: 11.98 kB / 0.7434 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.2499, allocations: 47.89 kB / 0.7435 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.428e-05/0.25, allocations: 32 kB / 0.7435 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.25, allocations: 75.28 kB / 0.7436 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.1e-08/0.25, allocations: 0 / 0.7436 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006119/0.2506, allocations: 187.8 kB / 0.7438 GB, free: 0.6602 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.0005971/0.2512, allocations: 231.4 kB / 0.744 GB, free: 436 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001381/0.2526, allocations: 0.7183 MB / 0.7447 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2526, allocations: 0 / 0.7447 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006763/0.2533, allocations: 403.7 kB / 0.7451 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.2536, allocations: 16 kB / 0.7451 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/0.2572, allocations: 0.7963 MB / 0.7459 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.2573, allocations: 103.5 kB / 0.746 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001093/0.2584, allocations: 301.5 kB / 0.7462 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000527/0.2589, allocations: 87.42 kB / 0.7463 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/0.2589, allocations: 0 / 0.7463 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of Templates: time 0.02129/0.2802, allocations: 12.02 MB / 0.7581 GB, free: 2.027 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.781660376116633] Failed to read output from testmodel.py, exit status != 0: 0.2909756489098072 0.6943227519999999 0.481263919 Calling exit ...