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.001181/0.001182, allocations: 92.95 kB / 16.02 MB, free: 84 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.00141/0.00141, allocations: 185 kB / 16.92 MB, free: 6.934 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6651/0.6651, allocations: 115.5 MB / 407.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003118, allocations: 12 kB / 496 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1726, allocations: 77.54 MB / 0.5601 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.000832/0.1735, allocations: 338.4 kB / 0.5604 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.1762, allocations: 1.272 MB / 0.5616 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.1763, allocations: 4 kB / 0.5616 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.355e-05/0.1763, allocations: 0 / 0.5616 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.643e-05/0.1763, allocations: 0 / 0.5616 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000486/0.1768, allocations: 59.86 kB / 0.5617 GB, free: 7.234 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.18e-05/0.1769, allocations: 15.98 kB / 0.5617 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.726e-05/0.177, allocations: 11.88 kB / 0.5617 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.554e-05/0.177, allocations: 7.938 kB / 0.5617 GB, free: 7.199 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.045e-05/0.1771, allocations: 15.92 kB / 0.5617 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.1771, allocations: 4 kB / 0.5617 GB, free: 7.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.1775, allocations: 103.9 kB / 0.5618 GB, free: 7.078 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.665e-05/0.1775, allocations: 7.984 kB / 0.5618 GB, free: 7.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.1776, allocations: 41.62 kB / 0.5619 GB, free: 7.023 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.1777, allocations: 63.86 kB / 0.5619 GB, free: 6.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1778, allocations: 0 / 0.5619 GB, free: 6.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1778, allocations: 0 / 0.5619 GB, free: 6.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.1778, allocations: 0 / 0.5619 GB, free: 6.961 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.0005186/0.1783, allocations: 345.7 kB / 0.5623 GB, free: 6.578 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.1784, allocations: 12.03 kB / 0.5623 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.783e-05/0.1784, allocations: 34.75 kB / 0.5623 GB, free: 6.523 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.1785, allocations: 4.844 kB / 0.5623 GB, free: 6.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.1786, allocations: 172.3 kB / 0.5625 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1786, allocations: 384 / 0.5625 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.1787, allocations: 4.375 kB / 0.5625 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.1788, allocations: 57.8 kB / 0.5626 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.1789, allocations: 0 / 0.5626 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1789, allocations: 0 / 0.5626 GB, free: 6.246 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1789, allocations: 4 kB / 0.5626 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.968e-05/0.179, allocations: 27.98 kB / 0.5626 GB, free: 6.215 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.1793, allocations: 173.5 kB / 0.5627 GB, free: 5.996 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.1794, allocations: 58.5 kB / 0.5628 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.1796, allocations: 28.84 kB / 0.5628 GB, free: 5.898 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007894/0.1804, allocations: 0.5583 MB / 0.5634 GB, free: 5.211 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000139/0.1806, allocations: 38.5 kB / 0.5634 GB, free: 5.164 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 4.138e-06/0.1806, allocations: 0 / 0.5634 GB, free: 5.164 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.02201/0.2026, allocations: 4.276 MB / 0.5676 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.2027, allocations: 55.41 kB / 0.5676 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.276e-05/0.2028, allocations: 93.86 kB / 0.5677 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-05/0.2029, allocations: 29.7 kB / 0.5678 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.2029, allocations: 84.12 kB / 0.5678 GB, free: 464 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.203, allocations: 59.11 kB / 0.5679 GB, free: 404 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.383e-05/0.2031, allocations: 17.72 kB / 0.5679 GB, free: 380 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.2032, allocations: 322.8 kB / 0.5682 GB, free: 48 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.2038, allocations: 308 kB / 0.5685 GB, free: 15.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005118/0.2043, allocations: 310.2 kB / 0.5688 GB, free: 15.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/0.2058, allocations: 0.7779 MB / 0.5696 GB, free: 14.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.2059, allocations: 0 / 0.5696 GB, free: 14.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001515/0.2074, allocations: 0.8004 MB / 0.5704 GB, free: 13.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.2074, allocations: 4 kB / 0.5704 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2074, allocations: 320 / 0.5704 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2074, allocations: 4 kB / 0.5704 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008348/0.2083, allocations: 95.88 kB / 0.5705 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2083, allocations: 0 / 0.5705 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005533/0.2088, allocations: 8 kB / 0.5705 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8e-05/0.2089, allocations: 43.89 kB / 0.5705 GB, free: 13.7 MB / 446.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.0002064/0.2091, allocations: 121.8 kB / 0.5706 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.411e-05/0.2092, allocations: 4 kB / 0.5706 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003478/0.2127, allocations: 1.396 MB / 0.572 GB, free: 12.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.2127, allocations: 4 kB / 0.572 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2127, allocations: 0 / 0.572 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.2128, allocations: 3.984 kB / 0.572 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/0.2157, allocations: 1.821 MB / 0.5738 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.2157, allocations: 0 / 0.5738 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007946/0.2165, allocations: 111.8 kB / 0.5739 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.2165, allocations: 4 kB / 0.5739 GB, free: 10.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.215e-05/0.2166, allocations: 35.94 kB / 0.5739 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.2166, allocations: 0 / 0.5739 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.2166, allocations: 4.031 kB / 0.5739 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002378/0.219, allocations: 1.465 MB / 0.5753 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.762e-05/0.2191, allocations: 92.98 kB / 0.5754 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.933e-05/0.2192, allocations: 7.938 kB / 0.5754 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000549/0.2197, allocations: 19.98 kB / 0.5755 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.2199, allocations: 35.97 kB / 0.5755 GB, free: 8.477 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.679e-05/0.2199, allocations: 36 kB / 0.5755 GB, free: 8.441 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.222e-05/0.22, allocations: 79.28 kB / 0.5756 GB, free: 8.363 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.22, allocations: 0 / 0.5756 GB, free: 8.363 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005679/0.2206, allocations: 184 kB / 0.5758 GB, free: 8.184 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 (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.003106/0.2237, allocations: 2.134 MB / 0.5779 GB, free: 6.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001227/0.2249, allocations: 0.7223 MB / 0.5786 GB, free: 5.297 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2249, allocations: 0 / 0.5786 GB, free: 5.297 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006586/0.2256, allocations: 456 kB / 0.579 GB, free: 4.852 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.2259, allocations: 12 kB / 0.579 GB, free: 4.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007518/0.2334, allocations: 3.774 MB / 0.5827 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.2338, allocations: 0.7184 MB / 0.5834 GB, free: 244 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.2599/0.4937, allocations: 292.1 kB / 0.5837 GB, free: 30.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007034/0.4944, allocations: 111.5 kB / 0.5838 GB, free: 30.86 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4944, allocations: 0.5938 kB / 0.5838 GB, free: 30.86 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.11/0.6044, allocations: 11.9 MB / 0.5954 GB, free: 28.85 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.6046, allocations: 229.4 kB / 0.5956 GB, free: 28.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.984/2.589, allocations: 0 / 0.5956 GB, free: 28.59 MB / 446.1 MB (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)