Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001451/0.001451, allocations: 108 kB / 15.6 MB, free: 132 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.001318/0.001318, allocations: 194.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.644/1.644, allocations: 292.3 MB / 0.5489 GB, free: 12.88 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 73.5 kB / 0.6715 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1923, allocations: 114.5 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001772/0.1941, allocations: 0.6191 MB / 0.784 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.1957, allocations: 1.303 MB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.1957, allocations: 0 / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.267e-05/0.1958, allocations: 0 / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 1.947e-05/0.1958, allocations: 3.938 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003632/0.1962, allocations: 83.72 kB / 0.7853 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.023e-05/0.1962, allocations: 15.98 kB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.1963, allocations: 4 kB / 0.7854 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.861e-05/0.1963, allocations: 11.94 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.818e-05/0.1964, allocations: 15.97 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1964, allocations: 4 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.1966, allocations: 91.89 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.599e-05/0.1966, allocations: 11.92 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.485e-05/0.1966, allocations: 11.94 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.1968, allocations: 63.86 kB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.1968, allocations: 0 / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1968, allocations: 0 / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.1968, allocations: 0 / 0.7856 GB, free: 11.26 MB / 0.6075 GB 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.000428/0.1972, allocations: 351.8 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1973, allocations: 15.97 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.1973, allocations: 4.844 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1974, allocations: 168.3 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1975, allocations: 4.359 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.1975, allocations: 12.36 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.1976, allocations: 57.98 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.1976, allocations: 0 / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.1976, allocations: 0 / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1976, allocations: 0 / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.751e-05/0.1977, allocations: 31.97 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.1979, allocations: 161.6 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.198, allocations: 66.5 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.226e-05/0.1981, allocations: 28.84 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004941/0.1986, allocations: 0.5505 MB / 0.787 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1986, allocations: 42.5 kB / 0.787 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.1986, allocations: 0 / 0.787 GB, free: 9.496 MB / 0.6075 GB 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.02/0.2186, allocations: 4.305 MB / 0.7912 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.2187, allocations: 55.41 kB / 0.7913 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.381e-05/0.2187, allocations: 93.84 kB / 0.7913 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.2188, allocations: 29.83 kB / 0.7914 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.2189, allocations: 88.14 kB / 0.7915 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.219, allocations: 59.12 kB / 0.7915 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/0.2192, allocations: 89.67 kB / 0.7916 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2193, allocations: 322.8 kB / 0.7919 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/0.2199, allocations: 307.9 kB / 0.7922 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/0.2204, allocations: 318.4 kB / 0.7925 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.2218, allocations: 0.7506 MB / 0.7932 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2218, allocations: 4 kB / 0.7932 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001481/0.2233, allocations: 0.7932 MB / 0.794 GB, free: 2.109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2233, allocations: 4 kB / 0.794 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.2234, allocations: 0 / 0.794 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2234, allocations: 7.984 kB / 0.794 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008219/0.2242, allocations: 95.89 kB / 0.7941 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2242, allocations: 0 / 0.7941 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.2248, allocations: 4 kB / 0.7941 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/0.2248, allocations: 36.05 kB / 0.7942 GB, free: 1.965 MB / 0.6075 GB 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.0001738/0.225, allocations: 122.4 kB / 0.7943 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.2251, allocations: 8 kB / 0.7943 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003119/0.2282, allocations: 1.391 MB / 0.7956 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.2283, allocations: 4 kB / 0.7956 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.2283, allocations: 0 / 0.7956 GB, free: 432 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.2283, allocations: 3.984 kB / 0.7956 GB, free: 428 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.231, allocations: 1.81 MB / 0.7974 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.231, allocations: 0 / 0.7974 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007798/0.2318, allocations: 111.9 kB / 0.7975 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.2318, allocations: 8.031 kB / 0.7975 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/0.2319, allocations: 31.92 kB / 0.7976 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.2319, allocations: 4 kB / 0.7976 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2319, allocations: 0 / 0.7976 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/0.2341, allocations: 1.453 MB / 0.799 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.376e-05/0.2341, allocations: 96.97 kB / 0.7991 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.059e-05/0.2342, allocations: 11.88 kB / 0.7991 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005263/0.2348, allocations: 16.06 kB / 0.7991 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.2349, allocations: 39.97 kB / 0.7991 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.928e-05/0.235, allocations: 32 kB / 0.7992 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 2.917e-05/0.235, allocations: 79.27 kB / 0.7992 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.235, allocations: 0 / 0.7992 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005242/0.2356, allocations: 168 kB / 0.7994 GB, free: 12.47 MB / 0.6231 GB 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.000439/0.236, allocations: 227.3 kB / 0.7996 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001218/0.2373, allocations: 0.7457 MB / 0.8003 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2373, allocations: 0 / 0.8003 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006333/0.2379, allocations: 451.8 kB / 0.8008 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.2382, allocations: 16 kB / 0.8008 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.2415, allocations: 0.7968 MB / 0.8016 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.2418, allocations: 0.718 MB / 0.8023 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.00132/0.2431, allocations: 297.5 kB / 0.8026 GB, free: 9.184 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004859/0.2436, allocations: 91.42 kB / 0.8026 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2436, allocations: 0 / 0.8026 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of Templates: time 0.01403/0.2576, allocations: 11.19 MB / 0.8136 GB, free: 13.96 MB / 0.6388 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)