Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.76/2.76, allocations: 287.5 MB / 302.4 MB, free: 8.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001283/0.001283, allocations: 200.5 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.4 MB / 0.6297 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009583/0.0009583, allocations: 94.73 kB / 0.743 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006542/0.0006546, allocations: 13.22 kB / 0.8658 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2212, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0008138/0.2221, allocations: 335.4 kB / 0.9787 GB, free: 28.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.2236, allocations: 1.031 MB / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.2236, allocations: 0 / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.217e-05/0.2236, allocations: 0 / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.6e-05/0.2237, allocations: 0 / 0.9797 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003548/0.224, allocations: 55.8 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.471e-05/0.2241, allocations: 15.98 kB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.2242, allocations: 0 / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.046e-05/0.2242, allocations: 4 kB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.803e-05/0.2243, allocations: 19.92 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.2243, allocations: 4 kB / 0.9798 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002295/0.2245, allocations: 83.89 kB / 0.9799 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.2246, allocations: 11.98 kB / 0.9799 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.792e-05/0.2246, allocations: 25.7 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.2247, allocations: 35.95 kB / 0.9799 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2247, allocations: 4 kB / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2247, allocations: 0 / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2248, allocations: 0 / 0.9799 GB, free: 26.74 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004026/0.2252, allocations: 331.4 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.2252, allocations: 16.02 kB / 0.9803 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.2253, allocations: 7.844 kB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.2254, allocations: 179.2 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.2254, allocations: 4 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.2254, allocations: 3.938 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.2256, allocations: 41.69 kB / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.2256, allocations: 0 / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.2256, allocations: 0 / 0.9805 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.2256, allocations: 8 kB / 0.9805 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.79e-05/0.2257, allocations: 8 kB / 0.9805 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001795/0.2259, allocations: 169.6 kB / 0.9807 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.226, allocations: 46.56 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.2261, allocations: 20.97 kB / 0.9807 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004847/0.2266, allocations: 0.5583 MB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.2266, allocations: 34.56 kB / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.884e-06/0.2266, allocations: 0 / 0.9813 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.00236/0.229, allocations: 459.4 kB / 0.9818 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.2291, allocations: 51.41 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.906e-05/0.2291, allocations: 89.86 kB / 0.9819 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.2291, allocations: 25.7 kB / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.2292, allocations: 84.14 kB / 0.982 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.2292, allocations: 27.55 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.2292, allocations: 12.06 kB / 0.982 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.035e-05/0.2293, allocations: 318.8 kB / 0.9823 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.723e-05/0.2294, allocations: 19.98 kB / 0.9824 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.574e-05/0.2294, allocations: 16 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.705e-05/0.2295, allocations: 23.98 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.2295, allocations: 0 / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001923/0.2297, allocations: 85.81 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2298, allocations: 4 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.2298, allocations: 96 / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2298, allocations: 3.938 kB / 0.9825 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.23, allocations: 20 kB / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.23, allocations: 0 / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.338e-05/0.2301, allocations: 0 / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.2301, allocations: 4 kB / 0.9825 GB, free: 23.72 MB / 0.6198 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.373e-05/0.2302, allocations: 121.7 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.859e-05/0.2302, allocations: 7.906 kB / 0.9826 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.2305, allocations: 101.6 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.2306, allocations: 4 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2306, allocations: 0 / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.2306, allocations: 0 / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.2307, allocations: 173.6 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2307, allocations: 0 / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.2309, allocations: 15.98 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.2309, allocations: 4 kB / 0.9829 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.2309, allocations: 4 kB / 0.9829 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.231, allocations: 4.094 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.231, allocations: 3.938 kB / 0.9829 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.2313, allocations: 137 kB / 0.9831 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.615e-05/0.2313, allocations: 85.05 kB / 0.9831 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.2313, allocations: 0 / 0.9831 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.244e-05/0.2314, allocations: 4 kB / 0.9831 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.2314, allocations: 7.984 kB / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.2315, allocations: 4.062 kB / 0.9832 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.354e-05/0.2315, allocations: 79.28 kB / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2315, allocations: 0 / 0.9832 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002765/0.2318, allocations: 24 kB / 0.9833 GB, free: 22.86 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002121/0.232, allocations: 119.2 kB / 0.9834 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.2322, allocations: 55.97 kB / 0.9834 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2322, allocations: 0 / 0.9834 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.837e-05/0.2323, allocations: 36.02 kB / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.2325, allocations: 9.688 kB / 0.9835 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.233, allocations: 152.9 kB / 0.9836 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.2331, allocations: 0.6848 MB / 0.9843 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001181/0.2333, allocations: 8.188 kB / 0.9843 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.2333, allocations: 15.44 kB / 0.9843 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of SimCode: time 6.31e-07/0.2333, allocations: 0 / 0.9843 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of Templates: time 0.003707/0.237, allocations: 0.7784 MB / 0.9851 GB, free: 20.95 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)