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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.65/2.65, allocations: 287.5 MB / 302.4 MB, free: 8.344 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.001435/0.001434, allocations: 182.5 kB / 371 MB, free: 10.86 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.182/2.182, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009975/0.0009975, allocations: 100.5 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.00114, allocations: 19.23 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2293, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.000769/0.2301, allocations: 339.5 kB / 0.9788 GB, free: 27.9 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.2316, allocations: 1.023 MB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.723e-05/0.2317, allocations: 0 / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.225e-05/0.2317, allocations: 4 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.483e-05/0.2317, allocations: 0 / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.2321, allocations: 55.88 kB / 0.9799 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.557e-05/0.2322, allocations: 15.91 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.2322, allocations: 4 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.245e-05/0.2323, allocations: 8 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.591e-05/0.2324, allocations: 11.92 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.2324, allocations: 0 / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.2326, allocations: 99.89 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.161e-05/0.2326, allocations: 0 / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.2327, allocations: 29.7 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001103/0.2328, allocations: 39.94 kB / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2328, allocations: 0 / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2328, allocations: 0 / 0.9801 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2328, allocations: 3.938 kB / 0.9801 GB, free: 26.59 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.0003893/0.2332, allocations: 331.4 kB / 0.9804 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.2333, allocations: 11.97 kB / 0.9804 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.2333, allocations: 34.56 kB / 0.9804 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.518e-05/0.2334, allocations: 7.906 kB / 0.9804 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.567e-05/0.2335, allocations: 175.2 kB / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.2335, allocations: 0 / 0.9806 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.2336, allocations: 8 kB / 0.9806 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.2337, allocations: 41.69 kB / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.2337, allocations: 0 / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.2337, allocations: 0 / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2337, allocations: 0 / 0.9806 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.8e-05/0.2338, allocations: 12 kB / 0.9806 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.234, allocations: 169.7 kB / 0.9808 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.2341, allocations: 42.5 kB / 0.9809 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.2342, allocations: 24.97 kB / 0.9809 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004829/0.2346, allocations: 0.5505 MB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.2347, allocations: 38.56 kB / 0.9815 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.743e-06/0.2347, allocations: 0 / 0.9815 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.002396/0.2371, allocations: 455.4 kB / 0.9819 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.2372, allocations: 55.41 kB / 0.9819 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.849e-05/0.2372, allocations: 93.86 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.2373, allocations: 25.7 kB / 0.9821 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.75e-05/0.2373, allocations: 84.08 kB / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.298e-05/0.2374, allocations: 31.55 kB / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.471e-05/0.2374, allocations: 0 / 0.9822 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.774e-05/0.2375, allocations: 322.8 kB / 0.9825 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.782e-05/0.2376, allocations: 20.11 kB / 0.9825 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.746e-05/0.2376, allocations: 23.98 kB / 0.9825 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.852e-05/0.2377, allocations: 16 kB / 0.9825 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2377, allocations: 4.188 kB / 0.9825 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002022/0.2379, allocations: 89.56 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.238, allocations: 4 kB / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.238, allocations: 0 / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.238, allocations: 0 / 0.9826 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.2382, allocations: 12 kB / 0.9826 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.2382, allocations: 4.062 kB / 0.9826 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.702e-05/0.2383, allocations: 8 kB / 0.9826 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.2383, allocations: 3.984 kB / 0.9826 GB, free: 23.54 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.582e-05/0.2384, allocations: 121.7 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.2384, allocations: 3.906 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.2387, allocations: 97.64 kB / 0.9829 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2387, allocations: 0 / 0.9829 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2388, allocations: 4 kB / 0.9829 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.82e-06/0.2388, allocations: 0 / 0.9829 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.2389, allocations: 173.6 kB / 0.983 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2389, allocations: 0 / 0.983 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.2391, allocations: 15.98 kB / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.2391, allocations: 0 / 0.983 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.2392, allocations: 15.88 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2392, allocations: 0 / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.2392, allocations: 7.984 kB / 0.9831 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002827/0.2395, allocations: 129.1 kB / 0.9832 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.768e-05/0.2395, allocations: 81.02 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.2395, allocations: 4.031 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.726e-05/0.2396, allocations: 0 / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.2397, allocations: 11.98 kB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.2397, allocations: 0 / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.627e-05/0.2397, allocations: 79.34 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.81e-07/0.2397, allocations: 4 kB / 0.9834 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002809/0.24, allocations: 20 kB / 0.9834 GB, free: 22.69 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.0005713/0.2406, allocations: 0.6944 MB / 0.9841 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.2408, allocations: 64.05 kB / 0.9841 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2408, allocations: 4 kB / 0.9841 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.807e-05/0.2409, allocations: 24 kB / 0.9841 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001888/0.2411, allocations: 4 kB / 0.9842 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009317/0.2421, allocations: 450.6 kB / 0.9846 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.2422, allocations: 0.6888 MB / 0.9853 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.2424, allocations: 12.17 kB / 0.9853 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.2424, allocations: 11.44 kB / 0.9853 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of SimCode: time 1.463e-06/0.2424, allocations: 0 / 0.9853 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.2613, allocations: 1.549 MB / 0.9868 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000264/0.2617, allocations: 213.8 kB / 0.987 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/2.756, allocations: 7.938 kB / 0.987 GB, free: 19.02 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)