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.001107/0.001107, allocations: 111 kB / 16.41 MB, free: 6.492 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.001073/0.001074, allocations: 191.9 kB / 17.34 MB, free: 5.762 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9303/0.9303, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 64.28 kB / 0.5685 GB, free: 28.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1511, allocations: 77.94 MB / 0.6446 GB, free: 8.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001719/0.1529, allocations: 0.5961 MB / 0.6452 GB, free: 8.348 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1546, allocations: 1.287 MB / 0.6465 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.1546, allocations: 0 / 0.6465 GB, free: 7.043 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.1547, allocations: 7.938 kB / 0.6465 GB, free: 7.035 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.272e-05/0.1547, allocations: 3.938 kB / 0.6465 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004225/0.1551, allocations: 71.73 kB / 0.6465 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.92e-05/0.1552, allocations: 23.92 kB / 0.6466 GB, free: 6.938 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.998e-05/0.1553, allocations: 11.97 kB / 0.6466 GB, free: 6.926 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.366e-05/0.1553, allocations: 8 kB / 0.6466 GB, free: 6.918 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.286e-05/0.1554, allocations: 15.92 kB / 0.6466 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1554, allocations: 0 / 0.6466 GB, free: 6.902 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.1556, allocations: 99.89 kB / 0.6467 GB, free: 6.805 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.1557, allocations: 7.984 kB / 0.6467 GB, free: 6.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.1557, allocations: 11.94 kB / 0.6467 GB, free: 6.785 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.1559, allocations: 71.77 kB / 0.6468 GB, free: 6.715 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.1559, allocations: 4 kB / 0.6468 GB, free: 6.711 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1559, allocations: 3.938 kB / 0.6468 GB, free: 6.707 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.1559, allocations: 0 / 0.6468 GB, free: 6.707 MB / 494.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.0004918/0.1564, allocations: 347.3 kB / 0.6471 GB, free: 6.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1565, allocations: 12.61 kB / 0.6471 GB, free: 6.309 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.258e-05/0.1565, allocations: 4.938 kB / 0.6471 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1566, allocations: 168.3 kB / 0.6473 GB, free: 6.102 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.1567, allocations: 4.375 kB / 0.6473 GB, free: 6.098 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.1567, allocations: 4.375 kB / 0.6473 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.1568, allocations: 57.97 kB / 0.6474 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1569, allocations: 4 kB / 0.6474 GB, free: 6.027 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1569, allocations: 4 kB / 0.6474 GB, free: 6.023 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1569, allocations: 0 / 0.6474 GB, free: 6.023 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.272e-05/0.157, allocations: 23.92 kB / 0.6474 GB, free: 6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.1572, allocations: 173.6 kB / 0.6475 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.1573, allocations: 58.56 kB / 0.6476 GB, free: 5.715 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.347e-05/0.1573, allocations: 24.84 kB / 0.6476 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004997/0.1579, allocations: 0.5583 MB / 0.6482 GB, free: 5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.1579, allocations: 42.5 kB / 0.6482 GB, free: 4.949 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.1579, allocations: 0 / 0.6482 GB, free: 4.949 MB / 494.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.0197/0.1776, allocations: 4.371 MB / 0.6525 GB, free: 432 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/0.1777, allocations: 67.33 kB / 0.6525 GB, free: 352 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.975e-05/0.1778, allocations: 93.86 kB / 0.6526 GB, free: 248 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.032e-05/0.1778, allocations: 25.7 kB / 0.6527 GB, free: 216 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.1779, allocations: 88.14 kB / 0.6527 GB, free: 124 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.178, allocations: 47.55 kB / 0.6528 GB, free: 76 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.1783, allocations: 93.67 kB / 0.6529 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.1784, allocations: 322.8 kB / 0.6532 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/0.1789, allocations: 307.9 kB / 0.6535 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/0.1795, allocations: 311.9 kB / 0.6538 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.181, allocations: 0.7758 MB / 0.6545 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.181, allocations: 3.938 kB / 0.6545 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001573/0.1826, allocations: 0.7999 MB / 0.6553 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1826, allocations: 4 kB / 0.6553 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1826, allocations: 3.938 kB / 0.6553 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1826, allocations: 4 kB / 0.6553 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000804/0.1835, allocations: 87.95 kB / 0.6554 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1835, allocations: 0 / 0.6554 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005141/0.184, allocations: 8 kB / 0.6554 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.151e-05/0.1841, allocations: 35.97 kB / 0.6555 GB, free: 13.32 MB / 0.4981 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.0001747/0.1843, allocations: 126.6 kB / 0.6556 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/0.1844, allocations: 7.953 kB / 0.6556 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/0.1875, allocations: 1.403 MB / 0.657 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1876, allocations: 4 kB / 0.657 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.1876, allocations: 0 / 0.657 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.1876, allocations: 3.984 kB / 0.657 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002838/0.1904, allocations: 1.81 MB / 0.6587 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.1904, allocations: 0 / 0.6587 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007871/0.1912, allocations: 107.9 kB / 0.6588 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1913, allocations: 0 / 0.6588 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.883e-05/0.1913, allocations: 39.92 kB / 0.6589 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1913, allocations: 4.031 kB / 0.6589 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1914, allocations: 3.938 kB / 0.6589 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.1937, allocations: 1.459 MB / 0.6603 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.1938, allocations: 104.9 kB / 0.6604 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.019e-05/0.1939, allocations: 7.938 kB / 0.6604 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.1944, allocations: 16 kB / 0.6604 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.1946, allocations: 36.03 kB / 0.6605 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/0.1946, allocations: 39.98 kB / 0.6605 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.139e-05/0.1947, allocations: 75.28 kB / 0.6606 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1947, allocations: 0 / 0.6606 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005871/0.1953, allocations: 179.7 kB / 0.6607 GB, free: 7.793 MB / 0.4981 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.0005289/0.1958, allocations: 226.8 kB / 0.661 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.1971, allocations: 0.7261 MB / 0.6617 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1971, allocations: 96 / 0.6617 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006751/0.1978, allocations: 459.7 kB / 0.6621 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.1981, allocations: 16 kB / 0.6621 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.2016, allocations: 0.8009 MB / 0.6629 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.2019, allocations: 0.7142 MB / 0.6636 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001054/0.2029, allocations: 293.6 kB / 0.6639 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005503/0.2035, allocations: 91.41 kB / 0.664 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.2035, allocations: 3.938 kB / 0.664 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of Templates: time 0.01623/0.2197, allocations: 11.26 MB / 0.675 GB, free: 9.199 MB / 0.5137 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)