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.001844/0.001844, allocations: 78.72 kB / 19.18 MB, free: 2.527 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.001627/0.001627, allocations: 167.2 kB / 22.46 MB, free: 5.363 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.517/1.517, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.9189/0.9189, allocations: 110.2 MB / 369.4 MB, free: 1.18 MB / 334.1 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.684e-06/1.684e-06, allocations: 0 / 0.5478 GB, free: 9.773 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.486e-05/3.655e-05, allocations: 2.844 kB / 0.5478 GB, free: 9.77 MB / 462.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001954/0.001991, allocations: 0.6048 MB / 0.5484 GB, free: 9.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.00415, allocations: 1.307 MB / 0.5497 GB, free: 7.855 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.731e-05/0.004177, allocations: 0 / 0.5497 GB, free: 7.855 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.339e-05/0.00419, allocations: 3.938 kB / 0.5497 GB, free: 7.852 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.307e-05/0.004223, allocations: 5.688 kB / 0.5497 GB, free: 7.848 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004246/0.004648, allocations: 83.59 kB / 0.5498 GB, free: 7.766 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 6.161e-05/0.00471, allocations: 19.98 kB / 0.5498 GB, free: 7.746 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.004754, allocations: 7.938 kB / 0.5498 GB, free: 7.738 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.99e-05/0.004804, allocations: 23.91 kB / 0.5498 GB, free: 7.715 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.756e-05/0.004871, allocations: 7.984 kB / 0.5498 GB, free: 7.707 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.004888, allocations: 4 kB / 0.5498 GB, free: 7.703 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000297/0.005185, allocations: 99.89 kB / 0.5499 GB, free: 7.605 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.787e-05/0.005202, allocations: 11.97 kB / 0.55 GB, free: 7.594 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.59e-05/0.005228, allocations: 11.94 kB / 0.55 GB, free: 7.582 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001971/0.005425, allocations: 87.75 kB / 0.5501 GB, free: 7.496 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.005428, allocations: 0 / 0.5501 GB, free: 7.496 MB / 462.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.005429, allocations: 0 / 0.5501 GB, free: 7.496 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.005433, allocations: 0 / 0.5501 GB, free: 7.496 MB / 462.1 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.0005284/0.005961, allocations: 282.2 kB / 0.5503 GB, free: 7.191 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.006007, allocations: 8.031 kB / 0.5503 GB, free: 7.184 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.694e-05/0.006064, allocations: 8.938 kB / 0.5503 GB, free: 7.176 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.006206, allocations: 105.7 kB / 0.5504 GB, free: 7.047 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.006225, allocations: 4.375 kB / 0.5504 GB, free: 7.043 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.006248, allocations: 384 / 0.5504 GB, free: 7.043 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.006452, allocations: 84.89 kB / 0.5505 GB, free: 6.949 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.006466, allocations: 192 / 0.5505 GB, free: 6.949 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.00648, allocations: 8.312 kB / 0.5505 GB, free: 6.941 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.006488, allocations: 7.938 kB / 0.5505 GB, free: 6.934 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.029e-05/0.006568, allocations: 23.98 kB / 0.5506 GB, free: 6.91 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.006853, allocations: 121.2 kB / 0.5507 GB, free: 6.762 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.007006, allocations: 62.5 kB / 0.5507 GB, free: 6.691 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.007059, allocations: 24.84 kB / 0.5508 GB, free: 6.664 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/0.007353, allocations: 35.97 kB / 0.5508 GB, free: 6.629 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/0.007398, allocations: 30.56 kB / 0.5508 GB, free: 6.59 MB / 462.1 MB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.0074, allocations: 0 / 0.5508 GB, free: 6.59 MB / 462.1 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.02305/0.03045, allocations: 4.167 MB / 0.5549 GB, free: 2.328 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.03052, allocations: 55.41 kB / 0.5549 GB, free: 2.262 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.568e-05/0.0306, allocations: 89.86 kB / 0.555 GB, free: 2.164 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.0307, allocations: 33.7 kB / 0.5551 GB, free: 2.125 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.03075, allocations: 80.27 kB / 0.5551 GB, free: 2.043 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.03089, allocations: 63.48 kB / 0.5552 GB, free: 1.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.03116, allocations: 93.59 kB / 0.5553 GB, free: 1.883 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.03132, allocations: 322.8 kB / 0.5556 GB, free: 1.559 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006242/0.03195, allocations: 307.9 kB / 0.5559 GB, free: 1.258 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006015/0.03255, allocations: 313.6 kB / 0.5562 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.03436, allocations: 0.7721 MB / 0.5569 GB, free: 184 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.03436, allocations: 0 / 0.5569 GB, free: 184 kB / 462.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001857/0.03622, allocations: 0.802 MB / 0.5577 GB, free: 15.37 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.03624, allocations: 8 kB / 0.5577 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.03625, allocations: 0 / 0.5577 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.03627, allocations: 4 kB / 0.5577 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009385/0.0372, allocations: 91.94 kB / 0.5578 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.03722, allocations: 3.938 kB / 0.5578 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006084/0.03782, allocations: 12 kB / 0.5578 GB, free: 15.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.03793, allocations: 36.53 kB / 0.5579 GB, free: 15.22 MB / 478.1 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.0002382/0.03817, allocations: 118.5 kB / 0.558 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.56e-05/0.03827, allocations: 11.89 kB / 0.558 GB, free: 15.08 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003551/0.04182, allocations: 1.396 MB / 0.5594 GB, free: 13.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.04182, allocations: 4 kB / 0.5594 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.04183, allocations: 3.938 kB / 0.5594 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.04184, allocations: 0 / 0.5594 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/0.04519, allocations: 1.664 MB / 0.561 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.04519, allocations: 0 / 0.561 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008949/0.04609, allocations: 111.9 kB / 0.5611 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.0461, allocations: 4.031 kB / 0.5611 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.339e-05/0.04618, allocations: 31.98 kB / 0.5611 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.04618, allocations: 0 / 0.5611 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.04619, allocations: 3.984 kB / 0.5611 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/0.04899, allocations: 1.462 MB / 0.5626 GB, free: 10.34 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.04902, allocations: 15.88 kB / 0.5626 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/0.04913, allocations: 11.98 kB / 0.5626 GB, free: 10.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005831/0.04971, allocations: 11.94 kB / 0.5626 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/0.0499, allocations: 43.95 kB / 0.5626 GB, free: 10.26 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.623e-05/0.04999, allocations: 32 kB / 0.5627 GB, free: 10.23 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.242e-05/0.05003, allocations: 79.34 kB / 0.5628 GB, free: 10.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.05003, allocations: 0 / 0.5628 GB, free: 10.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006268/0.05065, allocations: 187.6 kB / 0.5629 GB, free: 9.965 MB / 478.1 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.0006559/0.05131, allocations: 255.4 kB / 0.5632 GB, free: 9.703 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.05272, allocations: 0.724 MB / 0.5639 GB, free: 8.98 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.05273, allocations: 0 / 0.5639 GB, free: 8.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007077/0.05343, allocations: 403.6 kB / 0.5643 GB, free: 8.586 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.05378, allocations: 16 kB / 0.5643 GB, free: 8.57 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003826/0.0576, allocations: 0.7876 MB / 0.5651 GB, free: 7.758 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.05771, allocations: 99.59 kB / 0.5651 GB, free: 7.641 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001088/0.0588, allocations: 297.5 kB / 0.5654 GB, free: 7.348 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006453/0.05944, allocations: 96.47 kB / 0.5655 GB, free: 7.254 MB / 478.1 MB Notification: Performance of SimCode: time 6.51e-07/0.05945, allocations: 0 / 0.5655 GB, free: 7.254 MB / 478.1 MB Notification: Performance of Templates: time 0.01992/0.07937, allocations: 12 MB / 0.5772 GB, free: 11.36 MB / 494.1 MB " [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 sys.exit(0), Time elapsed: 5.721051547676325] Failed to read output from testmodel.py, exit status != 0: 0.08881190791726112 0.10341472900000001 0.09490158100000001 Calling exit ...