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.001677/0.001677, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001737/0.001737, allocations: 204.6 kB / 23.74 MB, free: 4.543 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.489/1.489, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.003/1.003, allocations: 149.9 MB / 463.8 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: 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.003454/0.003454, allocations: 67.03 kB / 0.6423 GB, free: 9.57 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.221, allocations: 89.17 MB / 0.7294 GB, free: 476 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001981/0.2229, allocations: 0.6172 MB / 0.73 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.2249, allocations: 1.299 MB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.232e-05/0.2249, allocations: 4 kB / 0.7313 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.225, allocations: 3.938 kB / 0.7313 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.682e-05/0.225, allocations: 0 / 0.7313 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.2254, allocations: 83.67 kB / 0.7314 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.657e-05/0.2255, allocations: 19.97 kB / 0.7314 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.2255, allocations: 7.984 kB / 0.7314 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.52e-05/0.2256, allocations: 11.94 kB / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.825e-05/0.2256, allocations: 11.92 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.2256, allocations: 4 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.226, allocations: 115.9 kB / 0.7315 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.226, allocations: 7.984 kB / 0.7316 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.75e-05/0.226, allocations: 11.94 kB / 0.7316 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.2262, allocations: 79.66 kB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2262, allocations: 0 / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2262, allocations: 0 / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.2262, allocations: 0 / 0.7316 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.0004625/0.2266, allocations: 278.2 kB / 0.7319 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2267, allocations: 12.03 kB / 0.7319 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.2267, allocations: 0.9375 kB / 0.7319 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.2268, allocations: 114.5 kB / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.2268, allocations: 384 / 0.732 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.2269, allocations: 8.375 kB / 0.732 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.227, allocations: 87.67 kB / 0.7321 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.227, allocations: 4 kB / 0.7321 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.227, allocations: 0 / 0.7321 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.227, allocations: 0 / 0.7321 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.661e-05/0.2271, allocations: 23.98 kB / 0.7321 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.2273, allocations: 121.2 kB / 0.7323 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.2274, allocations: 54.5 kB / 0.7323 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.122e-05/0.2274, allocations: 28.84 kB / 0.7323 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/0.2277, allocations: 35.97 kB / 0.7324 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.2277, allocations: 30.56 kB / 0.7324 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.2277, allocations: 4 kB / 0.7324 GB, free: 13.28 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.02004/0.2477, allocations: 4.168 MB / 0.7365 GB, free: 9.023 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.82e-05/0.2478, allocations: 55.41 kB / 0.7365 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.908e-05/0.2479, allocations: 89.86 kB / 0.7366 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.007e-05/0.248, allocations: 33.64 kB / 0.7366 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.248, allocations: 84.14 kB / 0.7367 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.2481, allocations: 55.47 kB / 0.7368 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.2484, allocations: 97.66 kB / 0.7369 GB, free: 8.578 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.2485, allocations: 322.8 kB / 0.7372 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005559/0.2491, allocations: 312 kB / 0.7375 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005614/0.2497, allocations: 314.2 kB / 0.7378 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.2513, allocations: 0.7702 MB / 0.7385 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.2513, allocations: 4 kB / 0.7385 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001625/0.2529, allocations: 0.7965 MB / 0.7393 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.2529, allocations: 8 kB / 0.7393 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2529, allocations: 0 / 0.7393 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.2529, allocations: 0 / 0.7393 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008626/0.2538, allocations: 95.88 kB / 0.7394 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2538, allocations: 400 / 0.7394 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/0.2544, allocations: 12 kB / 0.7394 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.084e-05/0.2544, allocations: 35.98 kB / 0.7395 GB, free: 5.918 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.0002138/0.2547, allocations: 117.8 kB / 0.7396 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-05/0.2547, allocations: 7.891 kB / 0.7396 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/0.258, allocations: 1.411 MB / 0.741 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.258, allocations: 4 kB / 0.741 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.258, allocations: 4 kB / 0.741 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.258, allocations: 0 / 0.741 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.2611, allocations: 1.658 MB / 0.7426 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2611, allocations: 0 / 0.7426 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008311/0.262, allocations: 111.9 kB / 0.7427 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.262, allocations: 3.938 kB / 0.7427 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.315e-05/0.262, allocations: 27.98 kB / 0.7427 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.262, allocations: 4 kB / 0.7427 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.262, allocations: 3.938 kB / 0.7427 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00254/0.2646, allocations: 1.466 MB / 0.7442 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.269e-05/0.2646, allocations: 19.83 kB / 0.7442 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.96e-05/0.2647, allocations: 12 kB / 0.7442 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005401/0.2653, allocations: 8 kB / 0.7442 GB, free: 0.9805 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.2654, allocations: 47.89 kB / 0.7442 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/0.2656, allocations: 28 kB / 0.7443 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.501e-05/0.2656, allocations: 75.28 kB / 0.7443 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2656, allocations: 0 / 0.7443 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000942/0.2666, allocations: 187.7 kB / 0.7445 GB, free: 0.6484 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.0008237/0.2674, allocations: 231.6 kB / 0.7447 GB, free: 424 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002264/0.2696, allocations: 0.7183 MB / 0.7454 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.2696, allocations: 0 / 0.7454 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.2708, allocations: 403.6 kB / 0.7458 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.2713, allocations: 16 kB / 0.7458 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005857/0.2772, allocations: 0.8176 MB / 0.7466 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.2773, allocations: 103.5 kB / 0.7467 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000935/0.2783, allocations: 95.41 kB / 0.7468 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of SimCode: time 9.52e-07/0.2783, allocations: 0 / 0.7468 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of Templates: time 0.01884/0.2971, allocations: 7.117 MB / 0.7538 GB, free: 7.164 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 os._exit(0), Time elapsed: 8.82644529407844] Failed to read output from testmodel.py, exit status != 0: 0.3104974841699004 0.650737879 0.421870779 Calling exit ...