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.001117/0.001117, allocations: 95.88 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 174.2 kB / 16.56 MB, free: 6.391 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.323/1.323, allocations: 223.2 MB / 240.5 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6606/0.6606, allocations: 113.8 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003015, allocations: 13.56 kB / 493.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1332, allocations: 77.15 MB / 0.5569 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0006775/0.134, allocations: 327.1 kB / 0.5572 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.1354, allocations: 1.231 MB / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.928e-05/0.1354, allocations: 0 / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.003e-05/0.1354, allocations: 4 kB / 0.5584 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.896e-05/0.1355, allocations: 0 / 0.5584 GB, free: 10.01 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.1357, allocations: 55.8 kB / 0.5584 GB, free: 9.957 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.964e-05/0.1358, allocations: 7.984 kB / 0.5584 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.1358, allocations: 4 kB / 0.5584 GB, free: 9.945 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.84e-05/0.1358, allocations: 11.94 kB / 0.5585 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.32e-05/0.1359, allocations: 11.98 kB / 0.5585 GB, free: 9.922 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.1359, allocations: 7.938 kB / 0.5585 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.1361, allocations: 95.81 kB / 0.5586 GB, free: 9.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.1361, allocations: 11.98 kB / 0.5586 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.1362, allocations: 29.7 kB / 0.5586 GB, free: 9.773 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.587e-05/0.1363, allocations: 43.94 kB / 0.5586 GB, free: 9.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.1363, allocations: 0 / 0.5586 GB, free: 9.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1363, allocations: 0 / 0.5586 GB, free: 9.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.1363, allocations: 0 / 0.5586 GB, free: 9.73 MB / 430.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.0003567/0.1366, allocations: 339.7 kB / 0.559 GB, free: 9.352 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1367, allocations: 8.031 kB / 0.559 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.1367, allocations: 7.906 kB / 0.559 GB, free: 9.336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1368, allocations: 167 kB / 0.5591 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.1368, allocations: 7.938 kB / 0.5591 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.1369, allocations: 4 kB / 0.5592 GB, free: 9.121 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.137, allocations: 49.67 kB / 0.5592 GB, free: 9.066 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.137, allocations: 3.953 kB / 0.5592 GB, free: 9.062 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.137, allocations: 4 kB / 0.5592 GB, free: 9.059 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.137, allocations: 0 / 0.5592 GB, free: 9.059 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.629e-05/0.1371, allocations: 23.98 kB / 0.5592 GB, free: 9.035 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.1373, allocations: 169.6 kB / 0.5594 GB, free: 8.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.1374, allocations: 58.48 kB / 0.5594 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000465/0.1378, allocations: 0.5622 MB / 0.56 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.1379, allocations: 30.56 kB / 0.56 GB, free: 8.023 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1379, allocations: 4 kB / 0.56 GB, free: 8.02 MB / 430.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.01956/0.1574, allocations: 4.27 MB / 0.5642 GB, free: 3.609 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.1575, allocations: 59.34 kB / 0.5643 GB, free: 3.539 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.94e-05/0.1576, allocations: 97.84 kB / 0.5643 GB, free: 3.434 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.597e-05/0.1577, allocations: 25.7 kB / 0.5644 GB, free: 3.402 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.832e-05/0.1577, allocations: 84.27 kB / 0.5645 GB, free: 3.316 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.1578, allocations: 59.19 kB / 0.5645 GB, free: 3.258 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.1579, allocations: 4 kB / 0.5645 GB, free: 3.254 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.951e-05/0.158, allocations: 322.8 kB / 0.5648 GB, free: 2.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.1585, allocations: 303.9 kB / 0.5651 GB, free: 2.633 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000506/0.159, allocations: 311.8 kB / 0.5654 GB, free: 2.328 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007332/0.1597, allocations: 389.9 kB / 0.5658 GB, free: 1.949 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1597, allocations: 0 / 0.5658 GB, free: 1.949 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001505/0.1613, allocations: 0.802 MB / 0.5666 GB, free: 1.141 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1613, allocations: 8 kB / 0.5666 GB, free: 1.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1613, allocations: 3.938 kB / 0.5666 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1613, allocations: 4 kB / 0.5666 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008529/0.1622, allocations: 91.94 kB / 0.5667 GB, free: 1.035 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.1622, allocations: 4 kB / 0.5667 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/0.1627, allocations: 8 kB / 0.5667 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/0.1628, allocations: 32.92 kB / 0.5667 GB, free: 0.9922 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002169/0.163, allocations: 125.8 kB / 0.5668 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/0.1631, allocations: 11.86 kB / 0.5668 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00331/0.1664, allocations: 1.4 MB / 0.5682 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.1665, allocations: 4 kB / 0.5682 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.1665, allocations: 0 / 0.5682 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1665, allocations: 3.984 kB / 0.5682 GB, free: 15.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.1694, allocations: 1.821 MB / 0.57 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.1694, allocations: 0 / 0.57 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008411/0.1703, allocations: 107.9 kB / 0.5701 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.1703, allocations: 4 kB / 0.5701 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.844e-05/0.1704, allocations: 24 kB / 0.5701 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.1704, allocations: 4 kB / 0.5701 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1704, allocations: 0 / 0.5701 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.1728, allocations: 1.475 MB / 0.5716 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.1729, allocations: 96.89 kB / 0.5717 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.486e-05/0.173, allocations: 4 kB / 0.5717 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005431/0.1735, allocations: 12 kB / 0.5717 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.1736, allocations: 47.89 kB / 0.5717 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.192e-05/0.1737, allocations: 31.95 kB / 0.5718 GB, free: 11.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.72e-05/0.1738, allocations: 79.28 kB / 0.5718 GB, free: 11.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1738, allocations: 4.156 kB / 0.5718 GB, free: 11.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006175/0.1744, allocations: 184 kB / 0.572 GB, free: 11.45 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005258/0.1749, allocations: 226.8 kB / 0.5722 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.1761, allocations: 0.7248 MB / 0.5729 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1762, allocations: 0 / 0.5729 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006121/0.1768, allocations: 455.7 kB / 0.5734 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.177, allocations: 4 kB / 0.5734 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003398/0.1804, allocations: 0.8506 MB / 0.5742 GB, free: 9.16 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.1807, allocations: 0.7223 MB / 0.5749 GB, free: 8.414 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001439/0.1821, allocations: 293.5 kB / 0.5752 GB, free: 8.125 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005161/0.1826, allocations: 95.41 kB / 0.5753 GB, free: 8.035 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1826, allocations: 4 kB / 0.5753 GB, free: 8.031 MB / 446.1 MB Notification: Performance of Templates: time 0.2407/0.4234, allocations: 10.36 MB / 0.5854 GB, free: 33.27 MB / 446.1 MB 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)