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: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 107.1 kB / 16.4 MB, free: 6.441 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.001409/0.001409, allocations: 192.8 kB / 17.34 MB, free: 5.719 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7237/0.7237, allocations: 115.3 MB / 406.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 67.67 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1465, allocations: 76.18 MB / 0.6316 GB, free: 4.844 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001803/0.1483, allocations: 0.5961 MB / 0.6322 GB, free: 4.25 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.15, allocations: 1.283 MB / 0.6335 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.1501, allocations: 0 / 0.6335 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.1501, allocations: 0 / 0.6335 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.872e-05/0.1502, allocations: 3.938 kB / 0.6335 GB, free: 2.945 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.1506, allocations: 79.72 kB / 0.6336 GB, free: 2.867 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.528e-05/0.1507, allocations: 19.98 kB / 0.6336 GB, free: 2.848 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.1507, allocations: 11.92 kB / 0.6336 GB, free: 2.836 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.208e-05/0.1507, allocations: 8 kB / 0.6336 GB, free: 2.828 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.586e-05/0.1508, allocations: 19.91 kB / 0.6336 GB, free: 2.809 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.1508, allocations: 0 / 0.6336 GB, free: 2.809 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.1511, allocations: 99.88 kB / 0.6337 GB, free: 2.711 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.1511, allocations: 8 kB / 0.6337 GB, free: 2.703 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.1511, allocations: 3.938 kB / 0.6337 GB, free: 2.699 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.1513, allocations: 79.84 kB / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1513, allocations: 0 / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1513, allocations: 0 / 0.6338 GB, free: 2.621 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.1513, allocations: 4 kB / 0.6338 GB, free: 2.617 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.0004353/0.1517, allocations: 350.3 kB / 0.6341 GB, free: 2.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.1518, allocations: 8.031 kB / 0.6341 GB, free: 2.223 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.472e-05/0.1518, allocations: 34.75 kB / 0.6342 GB, free: 2.18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.1519, allocations: 4.938 kB / 0.6342 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.152, allocations: 168.3 kB / 0.6343 GB, free: 1.973 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.152, allocations: 8.359 kB / 0.6343 GB, free: 1.965 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.152, allocations: 4.375 kB / 0.6344 GB, free: 1.961 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.1522, allocations: 53.8 kB / 0.6344 GB, free: 1.902 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1522, allocations: 3.984 kB / 0.6344 GB, free: 1.898 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1522, allocations: 8 kB / 0.6344 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1522, allocations: 0 / 0.6344 GB, free: 1.891 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.865e-05/0.1523, allocations: 19.98 kB / 0.6344 GB, free: 1.871 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.1525, allocations: 174.1 kB / 0.6346 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.1526, allocations: 66.5 kB / 0.6347 GB, free: 1.578 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/0.1527, allocations: 20.84 kB / 0.6347 GB, free: 1.555 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000543/0.1532, allocations: 0.5622 MB / 0.6352 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.109e-05/0.1533, allocations: 38.5 kB / 0.6353 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1533, allocations: 4 kB / 0.6353 GB, free: 0.8125 MB / 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.01948/0.1728, allocations: 4.364 MB / 0.6395 GB, free: 12.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.1728, allocations: 55.41 kB / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.743e-05/0.1729, allocations: 97.86 kB / 0.6397 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.888e-05/0.173, allocations: 25.7 kB / 0.6397 GB, free: 12.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.739e-05/0.173, allocations: 84.14 kB / 0.6398 GB, free: 12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.1731, allocations: 63.08 kB / 0.6398 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002341/0.1734, allocations: 97.61 kB / 0.6399 GB, free: 11.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1735, allocations: 314.8 kB / 0.6402 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/0.174, allocations: 315.9 kB / 0.6405 GB, free: 11.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/0.1745, allocations: 309.8 kB / 0.6408 GB, free: 10.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.176, allocations: 0.7754 MB / 0.6416 GB, free: 10.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.176, allocations: 3.938 kB / 0.6416 GB, free: 10.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00156/0.1776, allocations: 0.7981 MB / 0.6424 GB, free: 9.328 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.1776, allocations: 6.188 kB / 0.6424 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.1776, allocations: 0 / 0.6424 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.1777, allocations: 4 kB / 0.6424 GB, free: 9.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008135/0.1785, allocations: 95.88 kB / 0.6425 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.1785, allocations: 0 / 0.6425 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004853/0.179, allocations: 4 kB / 0.6425 GB, free: 9.223 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.458e-05/0.1791, allocations: 35.98 kB / 0.6425 GB, free: 9.188 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.000192/0.1793, allocations: 121.8 kB / 0.6426 GB, free: 9.059 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.683e-05/0.1794, allocations: 7.984 kB / 0.6426 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/0.1824, allocations: 1.399 MB / 0.644 GB, free: 7.641 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.1825, allocations: 4 kB / 0.644 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1825, allocations: 0 / 0.644 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1825, allocations: 0 / 0.644 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002888/0.1854, allocations: 1.826 MB / 0.6458 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.1854, allocations: 0 / 0.6458 GB, free: 5.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007805/0.1862, allocations: 107.9 kB / 0.6459 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.1862, allocations: 0 / 0.6459 GB, free: 5.641 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.247e-05/0.1863, allocations: 31.94 kB / 0.6459 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1863, allocations: 0 / 0.6459 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1863, allocations: 32 / 0.6459 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002294/0.1886, allocations: 1.473 MB / 0.6474 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.1887, allocations: 93.03 kB / 0.6475 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.1888, allocations: 7.938 kB / 0.6475 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004822/0.1893, allocations: 16 kB / 0.6475 GB, free: 3.984 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.1894, allocations: 39.95 kB / 0.6475 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.029e-05/0.1895, allocations: 36 kB / 0.6476 GB, free: 3.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.039e-05/0.1895, allocations: 79.34 kB / 0.6476 GB, free: 3.832 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1895, allocations: 0 / 0.6476 GB, free: 3.832 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005642/0.1901, allocations: 176 kB / 0.6478 GB, free: 3.66 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.003/0.1931, allocations: 2.139 MB / 0.6499 GB, free: 1.492 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.1943, allocations: 0.7223 MB / 0.6506 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1943, allocations: 0 / 0.6506 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006252/0.195, allocations: 456 kB / 0.651 GB, free: 332 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1953, allocations: 12 kB / 0.651 GB, free: 320 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007646/0.203, allocations: 3.723 MB / 0.6547 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.2033, allocations: 0.7182 MB / 0.6554 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001017/0.2043, allocations: 297.5 kB / 0.6557 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006235/0.2049, allocations: 115.4 kB / 0.6558 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/0.205, allocations: 0 / 0.6558 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03338/0.2383, allocations: 13.01 MB / 0.6685 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.719/7.958, allocations: 11.53 kB / 0.6685 GB, free: 14.52 MB / 0.5137 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)