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.0011/0.0011, allocations: 106.8 kB / 16.4 MB, free: 6.488 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.001076/0.001077, allocations: 193.2 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.771/0.771, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 65.42 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1799, allocations: 76.18 MB / 0.6321 GB, free: 4.379 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001592/0.1815, allocations: 0.6022 MB / 0.6327 GB, free: 3.781 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1831, allocations: 1.291 MB / 0.634 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.726e-05/0.1831, allocations: 0 / 0.634 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.1832, allocations: 0 / 0.634 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 2.549e-05/0.1832, allocations: 0 / 0.634 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.1836, allocations: 71.67 kB / 0.634 GB, free: 2.402 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.815e-05/0.1837, allocations: 23.98 kB / 0.6341 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.1837, allocations: 4 kB / 0.6341 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.583e-05/0.1838, allocations: 19.91 kB / 0.6341 GB, free: 2.355 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.199e-05/0.1838, allocations: 15.92 kB / 0.6341 GB, free: 2.34 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.1839, allocations: 4 kB / 0.6341 GB, free: 2.336 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002171/0.1841, allocations: 95.89 kB / 0.6342 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.1841, allocations: 7.984 kB / 0.6342 GB, free: 2.234 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.1841, allocations: 11.94 kB / 0.6342 GB, free: 2.223 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.1843, allocations: 71.84 kB / 0.6343 GB, free: 2.152 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1843, allocations: 0 / 0.6343 GB, free: 2.152 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1843, allocations: 0 / 0.6343 GB, free: 2.152 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1843, allocations: 0 / 0.6343 GB, free: 2.152 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.0004745/0.1848, allocations: 351.5 kB / 0.6346 GB, free: 1.762 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1848, allocations: 12.03 kB / 0.6346 GB, free: 1.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.1849, allocations: 4.844 kB / 0.6346 GB, free: 1.746 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.185, allocations: 168.3 kB / 0.6348 GB, free: 1.543 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.185, allocations: 8.375 kB / 0.6348 GB, free: 1.535 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.1851, allocations: 4.375 kB / 0.6348 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.1852, allocations: 50 kB / 0.6349 GB, free: 1.477 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.1852, allocations: 4 kB / 0.6349 GB, free: 1.473 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1852, allocations: 4 kB / 0.6349 GB, free: 1.469 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1852, allocations: 0 / 0.6349 GB, free: 1.469 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.657e-05/0.1853, allocations: 23.97 kB / 0.6349 GB, free: 1.445 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001753/0.1855, allocations: 161.7 kB / 0.635 GB, free: 1.238 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/0.1856, allocations: 66.44 kB / 0.6351 GB, free: 1.164 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.1857, allocations: 32.78 kB / 0.6351 GB, free: 1.129 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000512/0.1862, allocations: 0.5583 MB / 0.6357 GB, free: 452 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.1862, allocations: 34.5 kB / 0.6357 GB, free: 408 kB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.1862, allocations: 0 / 0.6357 GB, free: 408 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.01944/0.2057, allocations: 4.376 MB / 0.64 GB, free: 11.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.232e-05/0.2058, allocations: 55.41 kB / 0.64 GB, free: 11.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.734e-05/0.2059, allocations: 93.84 kB / 0.6401 GB, free: 11.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.752e-05/0.206, allocations: 33.7 kB / 0.6402 GB, free: 11.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.2061, allocations: 80.14 kB / 0.6402 GB, free: 11.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.2062, allocations: 55.11 kB / 0.6403 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002693/0.2065, allocations: 89.67 kB / 0.6404 GB, free: 11.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.2067, allocations: 330.9 kB / 0.6407 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000522/0.2072, allocations: 303.9 kB / 0.641 GB, free: 10.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/0.2078, allocations: 317.8 kB / 0.6413 GB, free: 10.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.2093, allocations: 0.7663 MB / 0.642 GB, free: 9.719 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.2093, allocations: 0 / 0.642 GB, free: 9.719 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001553/0.2109, allocations: 0.7996 MB / 0.6428 GB, free: 8.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.2109, allocations: 4 kB / 0.6428 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.2109, allocations: 11.94 kB / 0.6428 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.2109, allocations: 0 / 0.6428 GB, free: 8.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008241/0.2118, allocations: 99.88 kB / 0.6429 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.2118, allocations: 0 / 0.6429 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/0.2123, allocations: 12 kB / 0.6429 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/0.2124, allocations: 31.97 kB / 0.643 GB, free: 8.758 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.0001898/0.2126, allocations: 125.7 kB / 0.6431 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.036e-05/0.2127, allocations: 4 kB / 0.6431 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003118/0.2158, allocations: 1.396 MB / 0.6445 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.2158, allocations: 4 kB / 0.6445 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.2158, allocations: 0 / 0.6445 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.2158, allocations: 7.984 kB / 0.6445 GB, free: 7.203 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002846/0.2187, allocations: 1.814 MB / 0.6462 GB, free: 5.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.2187, allocations: 8.031 kB / 0.6463 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007702/0.2195, allocations: 107.9 kB / 0.6464 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.2195, allocations: 0 / 0.6464 GB, free: 5.211 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.321e-05/0.2196, allocations: 31.94 kB / 0.6464 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2196, allocations: 0 / 0.6464 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.2196, allocations: 3.984 kB / 0.6464 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.2219, allocations: 1.462 MB / 0.6478 GB, free: 3.695 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.222, allocations: 97.11 kB / 0.6479 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.1e-05/0.2221, allocations: 11.92 kB / 0.6479 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005092/0.2226, allocations: 12 kB / 0.6479 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/0.2227, allocations: 39.97 kB / 0.648 GB, free: 3.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/0.2228, allocations: 28 kB / 0.648 GB, free: 3.492 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.417e-05/0.2229, allocations: 79.28 kB / 0.6481 GB, free: 3.414 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2229, allocations: 0 / 0.6481 GB, free: 3.414 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006252/0.2235, allocations: 180 kB / 0.6482 GB, free: 3.238 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.0005373/0.224, allocations: 223.8 kB / 0.6485 GB, free: 3.012 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.2252, allocations: 0.7261 MB / 0.6492 GB, free: 2.285 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2253, allocations: 0 / 0.6492 GB, free: 2.285 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006667/0.2259, allocations: 455.7 kB / 0.6496 GB, free: 1.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.2263, allocations: 13.88 kB / 0.6496 GB, free: 1.828 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003511/0.2298, allocations: 0.8082 MB / 0.6504 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.2301, allocations: 0.7182 MB / 0.6511 GB, free: 252 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001019/0.2311, allocations: 293.6 kB / 0.6514 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005727/0.2317, allocations: 95.3 kB / 0.6515 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.2317, allocations: 0 / 0.6515 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.01687/0.2486, allocations: 11.25 MB / 0.6625 GB, free: 4.66 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)