Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.0007296/0.0007296, allocations: 72.55 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0007329/0.0007329, allocations: 177.9 kB / 23.22 MB, free: 1.336 MB / 18.57 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 0.8318/0.8318, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.5069/0.5069, allocations: 110.2 MB / 370.2 MB, free: 12.62 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.5486 GB, free: 8.211 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.223e-05, allocations: 10.22 kB / 0.5486 GB, free: 8.199 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001119/0.001142, allocations: 0.6074 MB / 0.5492 GB, free: 7.59 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.002381, allocations: 1.303 MB / 0.5504 GB, free: 6.27 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.002403, allocations: 0 / 0.5504 GB, free: 6.27 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.002417, allocations: 0 / 0.5504 GB, free: 6.27 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 1.839e-05/0.002436, allocations: 0 / 0.5504 GB, free: 6.27 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.002743, allocations: 95.47 kB / 0.5505 GB, free: 6.176 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 5.776e-05/0.002801, allocations: 19.97 kB / 0.5506 GB, free: 6.156 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.494e-05/0.002846, allocations: 7.984 kB / 0.5506 GB, free: 6.148 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.964e-05/0.002876, allocations: 8 kB / 0.5506 GB, free: 6.141 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.914e-05/0.002935, allocations: 23.91 kB / 0.5506 GB, free: 6.117 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.002946, allocations: 0 / 0.5506 GB, free: 6.117 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001953/0.003141, allocations: 107.9 kB / 0.5507 GB, free: 6.012 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.947e-06/0.00315, allocations: 0 / 0.5507 GB, free: 6.012 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.644e-05/0.003167, allocations: 11.98 kB / 0.5507 GB, free: 6 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001382/0.003305, allocations: 99.67 kB / 0.5508 GB, free: 5.902 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.003307, allocations: 0 / 0.5508 GB, free: 5.902 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.041e-06/0.003308, allocations: 0 / 0.5508 GB, free: 5.902 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.003312, allocations: 0 / 0.5508 GB, free: 5.902 MB / 474.7 MB 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.000327/0.003639, allocations: 282.1 kB / 0.5511 GB, free: 5.598 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.003672, allocations: 12.62 kB / 0.5511 GB, free: 5.586 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.003702, allocations: 0.9375 kB / 0.5511 GB, free: 5.586 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.698e-05/0.003769, allocations: 109.8 kB / 0.5512 GB, free: 5.453 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.003778, allocations: 384 / 0.5512 GB, free: 5.453 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.003799, allocations: 4.375 kB / 0.5512 GB, free: 5.449 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.003901, allocations: 83.88 kB / 0.5513 GB, free: 5.355 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.003911, allocations: 192 / 0.5513 GB, free: 5.355 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.026e-06/0.00392, allocations: 384 / 0.5513 GB, free: 5.355 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.003924, allocations: 3.938 kB / 0.5513 GB, free: 5.352 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.823e-05/0.003972, allocations: 23.98 kB / 0.5513 GB, free: 5.328 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001093/0.004082, allocations: 121.2 kB / 0.5514 GB, free: 5.18 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.199e-05/0.004174, allocations: 62.48 kB / 0.5515 GB, free: 5.109 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.756e-05/0.004201, allocations: 24.84 kB / 0.5515 GB, free: 5.082 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/0.004364, allocations: 39.95 kB / 0.5515 GB, free: 5.043 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.004383, allocations: 30.56 kB / 0.5516 GB, free: 5.004 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 7.82e-07/0.004384, allocations: 3.938 kB / 0.5516 GB, free: 5 MB / 474.7 MB 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.009936/0.01432, allocations: 4.17 MB / 0.5556 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.01435, allocations: 51.41 kB / 0.5557 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.155e-05/0.01439, allocations: 93.86 kB / 0.5558 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.01443, allocations: 29.7 kB / 0.5558 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.799e-05/0.01445, allocations: 80.14 kB / 0.5559 GB, free: 468 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.674e-05/0.01453, allocations: 63.59 kB / 0.5559 GB, free: 404 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.01466, allocations: 93.67 kB / 0.556 GB, free: 304 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.01474, allocations: 318.8 kB / 0.5563 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003236/0.01506, allocations: 307.9 kB / 0.5566 GB, free: 15.68 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.01539, allocations: 317.6 kB / 0.5569 GB, free: 15.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009321/0.01632, allocations: 0.7641 MB / 0.5577 GB, free: 14.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.01632, allocations: 0 / 0.5577 GB, free: 14.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009418/0.01726, allocations: 0.8058 MB / 0.5585 GB, free: 13.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.01727, allocations: 7.984 kB / 0.5585 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.01728, allocations: 0.5469 kB / 0.5585 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.01729, allocations: 4 kB / 0.5585 GB, free: 13.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.01762, allocations: 91.95 kB / 0.5586 GB, free: 13.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.01763, allocations: 7.875 kB / 0.5586 GB, free: 13.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.01781, allocations: 8 kB / 0.5586 GB, free: 13.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.01786, allocations: 35.97 kB / 0.5586 GB, free: 13.64 MB / 490.7 MB 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.0001185/0.01798, allocations: 121.8 kB / 0.5587 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.01802, allocations: 11.89 kB / 0.5587 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.01971, allocations: 1.396 MB / 0.5601 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01972, allocations: 4 kB / 0.5601 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01972, allocations: 0 / 0.5601 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01972, allocations: 3.984 kB / 0.5601 GB, free: 12.08 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/0.02162, allocations: 1.675 MB / 0.5618 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.02162, allocations: 0 / 0.5618 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000327/0.02195, allocations: 107.9 kB / 0.5619 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.02195, allocations: 4 kB / 0.5619 GB, free: 10.26 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.751e-05/0.02199, allocations: 28.03 kB / 0.5619 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.02199, allocations: 4 kB / 0.5619 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.022, allocations: 0 / 0.5619 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.02343, allocations: 1.458 MB / 0.5633 GB, free: 8.754 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.102e-05/0.02345, allocations: 19.88 kB / 0.5633 GB, free: 8.734 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.02349, allocations: 8 kB / 0.5633 GB, free: 8.727 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.02369, allocations: 12 kB / 0.5634 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.062e-05/0.02377, allocations: 47.94 kB / 0.5634 GB, free: 8.668 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.02381, allocations: 31.94 kB / 0.5634 GB, free: 8.637 MB / 490.7 MB Notification: Performance of sorting global known variables: time 1.965e-05/0.02383, allocations: 79.28 kB / 0.5635 GB, free: 8.559 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02383, allocations: 4.156 kB / 0.5635 GB, free: 8.555 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000345/0.02417, allocations: 191.6 kB / 0.5637 GB, free: 8.367 MB / 490.7 MB 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.0003234/0.02449, allocations: 243.4 kB / 0.5639 GB, free: 8.117 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007626/0.02526, allocations: 0.7206 MB / 0.5646 GB, free: 7.398 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.02526, allocations: 0 / 0.5646 GB, free: 7.398 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003715/0.02563, allocations: 403.6 kB / 0.565 GB, free: 7.004 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.02584, allocations: 21.2 kB / 0.565 GB, free: 6.988 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.02739, allocations: 0.8196 MB / 0.5658 GB, free: 6.137 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.239e-05/0.02745, allocations: 103.7 kB / 0.5659 GB, free: 6.016 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/0.02781, allocations: 96.47 kB / 0.566 GB, free: 5.922 MB / 490.7 MB Notification: Performance of SimCode: time 4.41e-07/0.02781, allocations: 0 / 0.566 GB, free: 5.922 MB / 490.7 MB Notification: Performance of Templates: time 0.005956/0.03377, allocations: 7.16 MB / 0.573 GB, free: 14.85 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.691409135237336] Failed to read output from testmodel.py, exit status != 0: 0.03929305076599121 0.046346179 0.041522261000000005 Calling exit ...