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.001005/0.001005, allocations: 113.9 kB / 17.08 MB, free: 5.789 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.00101/0.00101, allocations: 200.1 kB / 18.02 MB, free: 4.918 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.278/1.278, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6906/0.6906, allocations: 115.3 MB / 407.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 64.62 kB / 0.5584 GB, free: 32.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.128, allocations: 76.18 MB / 0.6328 GB, free: 4.316 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001655/0.1297, allocations: 0.5999 MB / 0.6334 GB, free: 3.719 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1312, allocations: 1.283 MB / 0.6346 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.202e-05/0.1312, allocations: 0 / 0.6346 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.248e-05/0.1313, allocations: 0 / 0.6346 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.148e-05/0.1313, allocations: 4 kB / 0.6346 GB, free: 2.414 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.1316, allocations: 79.67 kB / 0.6347 GB, free: 2.336 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.301e-05/0.1317, allocations: 15.98 kB / 0.6347 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.1318, allocations: 4 kB / 0.6347 GB, free: 2.316 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.395e-05/0.1318, allocations: 15.92 kB / 0.6347 GB, free: 2.301 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.308e-05/0.1319, allocations: 15.92 kB / 0.6348 GB, free: 2.285 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.1319, allocations: 4 kB / 0.6348 GB, free: 2.281 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.1321, allocations: 103.9 kB / 0.6349 GB, free: 2.18 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.1321, allocations: 4 kB / 0.6349 GB, free: 2.176 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.406e-05/0.1321, allocations: 15.92 kB / 0.6349 GB, free: 2.16 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.1323, allocations: 71.84 kB / 0.6349 GB, free: 2.09 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1323, allocations: 0 / 0.6349 GB, free: 2.09 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1323, allocations: 0 / 0.6349 GB, free: 2.09 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.1323, allocations: 0 / 0.6349 GB, free: 2.09 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.0004441/0.1328, allocations: 349.7 kB / 0.6353 GB, free: 1.703 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.1328, allocations: 12.03 kB / 0.6353 GB, free: 1.691 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.368e-05/0.1328, allocations: 8.844 kB / 0.6353 GB, free: 1.684 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.133, allocations: 164.3 kB / 0.6355 GB, free: 1.484 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.133, allocations: 12.38 kB / 0.6355 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.133, allocations: 4.375 kB / 0.6355 GB, free: 1.469 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.1331, allocations: 57.92 kB / 0.6355 GB, free: 1.406 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1331, allocations: 4 kB / 0.6355 GB, free: 1.402 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1332, allocations: 0 / 0.6355 GB, free: 1.402 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1332, allocations: 0 / 0.6355 GB, free: 1.402 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.965e-05/0.1332, allocations: 19.98 kB / 0.6356 GB, free: 1.383 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.1334, allocations: 165.7 kB / 0.6357 GB, free: 1.172 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.1335, allocations: 70.48 kB / 0.6358 GB, free: 1.094 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.367e-05/0.1336, allocations: 28.84 kB / 0.6358 GB, free: 1.062 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000476/0.1341, allocations: 0.5583 MB / 0.6363 GB, free: 384 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.1341, allocations: 34.5 kB / 0.6364 GB, free: 340 kB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 3.206e-06/0.1341, allocations: 4 kB / 0.6364 GB, free: 336 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.0187/0.1528, allocations: 4.365 MB / 0.6406 GB, free: 11.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.1529, allocations: 55.41 kB / 0.6407 GB, free: 11.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.162e-05/0.153, allocations: 93.86 kB / 0.6408 GB, free: 11.64 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.449e-05/0.1531, allocations: 33.7 kB / 0.6408 GB, free: 11.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.861e-05/0.1531, allocations: 80.14 kB / 0.6409 GB, free: 11.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.1532, allocations: 59.09 kB / 0.641 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.1535, allocations: 89.67 kB / 0.641 GB, free: 11.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1536, allocations: 326.8 kB / 0.6414 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/0.1541, allocations: 303.9 kB / 0.6416 GB, free: 10.74 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004902/0.1546, allocations: 311.8 kB / 0.6419 GB, free: 10.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.1561, allocations: 0.7721 MB / 0.6427 GB, free: 9.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.1561, allocations: 4 kB / 0.6427 GB, free: 9.656 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001522/0.1576, allocations: 0.7999 MB / 0.6435 GB, free: 8.852 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1576, allocations: 4 kB / 0.6435 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.1577, allocations: 7.938 kB / 0.6435 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1577, allocations: 3.938 kB / 0.6435 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008032/0.1585, allocations: 95.88 kB / 0.6436 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1585, allocations: 0 / 0.6436 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.159, allocations: 12 kB / 0.6436 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.595e-05/0.1591, allocations: 27.98 kB / 0.6436 GB, free: 8.703 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.0001817/0.1593, allocations: 125.8 kB / 0.6437 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.1594, allocations: 7.984 kB / 0.6438 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/0.1625, allocations: 1.4 MB / 0.6451 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.1625, allocations: 4 kB / 0.6451 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1625, allocations: 0 / 0.6451 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1625, allocations: 4 kB / 0.6451 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002834/0.1654, allocations: 1.818 MB / 0.6469 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1654, allocations: 4 kB / 0.6469 GB, free: 5.258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/0.1661, allocations: 107.9 kB / 0.647 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1662, allocations: 0 / 0.647 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.486e-05/0.1662, allocations: 31.94 kB / 0.647 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.1662, allocations: 0 / 0.647 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1662, allocations: 4.031 kB / 0.647 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.1685, allocations: 1.466 MB / 0.6485 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.1686, allocations: 89.02 kB / 0.6486 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.041e-05/0.1687, allocations: 11.94 kB / 0.6486 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005037/0.1692, allocations: 12 kB / 0.6486 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.1693, allocations: 43.95 kB / 0.6486 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.077e-05/0.1694, allocations: 28.06 kB / 0.6487 GB, free: 3.434 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.156e-05/0.1694, allocations: 79.28 kB / 0.6487 GB, free: 3.355 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1695, allocations: 0 / 0.6487 GB, free: 3.355 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005421/0.17, allocations: 180 kB / 0.6489 GB, free: 3.18 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.0004633/0.1705, allocations: 219.7 kB / 0.6491 GB, free: 2.957 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.1717, allocations: 0.7261 MB / 0.6498 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1717, allocations: 0 / 0.6498 GB, free: 2.23 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006355/0.1723, allocations: 459.8 kB / 0.6503 GB, free: 1.781 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.1726, allocations: 17.88 kB / 0.6503 GB, free: 1.766 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.1761, allocations: 0.8294 MB / 0.6511 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002687/0.1764, allocations: 0.7181 MB / 0.6518 GB, free: 160 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000538/0.1769, allocations: 91.41 kB / 0.6519 GB, free: 68 kB / 494.1 MB Notification: Performance of SimCode: time 1.924e-06/0.1769, allocations: 4.062 kB / 0.6519 GB, free: 64 kB / 494.1 MB Notification: Performance of Templates: time 0.009697/0.1866, allocations: 6.917 MB / 0.6586 GB, free: 9.184 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)