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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 109.8 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 190.1 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.719/0.719, allocations: 115.3 MB / 406.5 MB, free: 6.242 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 65.59 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1614, allocations: 76.17 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001562/0.163, allocations: 0.5983 MB / 0.6327 GB, free: 3.801 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.1645, allocations: 1.287 MB / 0.634 GB, free: 2.496 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.256e-05/0.1646, allocations: 3.938 kB / 0.634 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.1646, allocations: 4 kB / 0.634 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.663e-05/0.1646, allocations: 0 / 0.634 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.165, allocations: 79.67 kB / 0.634 GB, free: 2.41 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.364e-05/0.1651, allocations: 23.97 kB / 0.6341 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.1651, allocations: 0 / 0.6341 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.29e-05/0.1652, allocations: 11.94 kB / 0.6341 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.558e-05/0.1653, allocations: 19.91 kB / 0.6341 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.1653, allocations: 0 / 0.6341 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002123/0.1655, allocations: 99.89 kB / 0.6342 GB, free: 2.258 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.1655, allocations: 15.98 kB / 0.6342 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.292e-05/0.1655, allocations: 7.938 kB / 0.6342 GB, free: 2.234 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.1657, allocations: 67.84 kB / 0.6343 GB, free: 2.168 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1657, allocations: 0 / 0.6343 GB, free: 2.168 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1657, allocations: 4 kB / 0.6343 GB, free: 2.164 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1657, allocations: 0 / 0.6343 GB, free: 2.164 MB / 478.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.000446/0.1662, allocations: 347.5 kB / 0.6346 GB, free: 1.777 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1662, allocations: 8.031 kB / 0.6346 GB, free: 1.77 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.1662, allocations: 8.844 kB / 0.6346 GB, free: 1.762 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1664, allocations: 172.3 kB / 0.6348 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1664, allocations: 384 / 0.6348 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.1664, allocations: 4.375 kB / 0.6348 GB, free: 1.551 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.1665, allocations: 65.97 kB / 0.6349 GB, free: 1.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1666, allocations: 0 / 0.6349 GB, free: 1.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1666, allocations: 0 / 0.6349 GB, free: 1.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1666, allocations: 3.984 kB / 0.6349 GB, free: 1.477 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.653e-05/0.1667, allocations: 23.98 kB / 0.6349 GB, free: 1.453 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.1668, allocations: 169.7 kB / 0.6351 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.1669, allocations: 62.48 kB / 0.6351 GB, free: 1.168 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.167, allocations: 28.8 kB / 0.6351 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004644/0.1675, allocations: 0.5583 MB / 0.6357 GB, free: 460 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.1675, allocations: 38.5 kB / 0.6357 GB, free: 412 kB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.1675, allocations: 0 / 0.6357 GB, free: 412 kB / 478.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.01861/0.1861, allocations: 4.369 MB / 0.64 GB, free: 11.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1862, allocations: 51.41 kB / 0.64 GB, free: 11.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/0.1863, allocations: 97.86 kB / 0.6401 GB, free: 11.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.351e-05/0.1863, allocations: 29.7 kB / 0.6402 GB, free: 11.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.882e-05/0.1864, allocations: 80.14 kB / 0.6402 GB, free: 11.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.1865, allocations: 59.11 kB / 0.6403 GB, free: 11.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.1867, allocations: 89.66 kB / 0.6404 GB, free: 11.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1869, allocations: 322.8 kB / 0.6407 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/0.1874, allocations: 311.9 kB / 0.641 GB, free: 10.81 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005373/0.188, allocations: 311.8 kB / 0.6413 GB, free: 10.5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.1895, allocations: 0.7717 MB / 0.642 GB, free: 9.73 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1895, allocations: 0 / 0.642 GB, free: 9.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001505/0.191, allocations: 0.8038 MB / 0.6428 GB, free: 8.922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.191, allocations: 4 kB / 0.6428 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.191, allocations: 3.938 kB / 0.6428 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.191, allocations: 0 / 0.6428 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008392/0.1919, allocations: 95.88 kB / 0.6429 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1919, allocations: 4 kB / 0.6429 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005256/0.1924, allocations: 8 kB / 0.6429 GB, free: 8.809 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.439e-05/0.1925, allocations: 31.98 kB / 0.643 GB, free: 8.777 MB / 494.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.0001972/0.1927, allocations: 125.8 kB / 0.6431 GB, free: 8.645 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.841e-05/0.1928, allocations: 4 kB / 0.6431 GB, free: 8.641 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003122/0.1959, allocations: 1.399 MB / 0.6445 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.196, allocations: 4 kB / 0.6445 GB, free: 7.227 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.196, allocations: 4 kB / 0.6445 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.196, allocations: 0 / 0.6445 GB, free: 7.223 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/0.1988, allocations: 1.818 MB / 0.6462 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1989, allocations: 0 / 0.6462 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007958/0.1997, allocations: 111.9 kB / 0.6463 GB, free: 5.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.1997, allocations: 4 kB / 0.6463 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.021e-05/0.1997, allocations: 27.94 kB / 0.6464 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.1998, allocations: 8.031 kB / 0.6464 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1998, allocations: 0 / 0.6464 GB, free: 5.191 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.2021, allocations: 1.473 MB / 0.6478 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.2022, allocations: 85.05 kB / 0.6479 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-05/0.2023, allocations: 11.94 kB / 0.6479 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00052/0.2028, allocations: 8 kB / 0.6479 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/0.203, allocations: 47.95 kB / 0.648 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-05/0.203, allocations: 40.05 kB / 0.648 GB, free: 3.492 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.2032, allocations: 75.28 kB / 0.6481 GB, free: 3.418 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2032, allocations: 0 / 0.6481 GB, free: 3.418 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005485/0.2037, allocations: 176 kB / 0.6482 GB, free: 3.246 MB / 494.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.0005562/0.2043, allocations: 223.7 kB / 0.6485 GB, free: 3.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.2055, allocations: 0.7261 MB / 0.6492 GB, free: 2.293 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2055, allocations: 0 / 0.6492 GB, free: 2.293 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006338/0.2061, allocations: 459.8 kB / 0.6496 GB, free: 1.844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.2065, allocations: 13.69 kB / 0.6496 GB, free: 1.832 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003393/0.2099, allocations: 0.8004 MB / 0.6504 GB, free: 1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.2102, allocations: 0.7142 MB / 0.6511 GB, free: 268 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001082/0.2113, allocations: 297.6 kB / 0.6514 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005244/0.2118, allocations: 95.41 kB / 0.6515 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of SimCode: time 1.683e-06/0.2118, allocations: 0 / 0.6515 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.01628/0.2281, allocations: 11.24 MB / 0.6624 GB, free: 4.684 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (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)