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.727/2.727, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001675/0.001675, allocations: 179.7 kB / 370.8 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.301/2.301, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001143/0.001143, allocations: 101.8 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005284/0.0005285, allocations: 26.77 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2137, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007547/0.2145, allocations: 337.8 kB / 0.9786 GB, free: 27.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.216, allocations: 1.021 MB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.945e-05/0.216, allocations: 0 / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.2161, allocations: 3.938 kB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.703e-05/0.2161, allocations: 4 kB / 0.9796 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.2165, allocations: 51.81 kB / 0.9797 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.877e-05/0.2166, allocations: 11.98 kB / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.2166, allocations: 0 / 0.9797 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.048e-05/0.2167, allocations: 8 kB / 0.9797 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.541e-05/0.2167, allocations: 15.92 kB / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.2167, allocations: 0 / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.217, allocations: 87.88 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.217, allocations: 4 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.217, allocations: 33.64 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.2171, allocations: 39.94 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2172, allocations: 4 kB / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2172, allocations: 0 / 0.9799 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.2172, allocations: 0 / 0.9799 GB, free: 26.64 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.0003738/0.2176, allocations: 331.4 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.2176, allocations: 12.03 kB / 0.9802 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.2177, allocations: 38.5 kB / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.2177, allocations: 3.906 kB / 0.9802 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.391e-05/0.2178, allocations: 175.2 kB / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.2178, allocations: 0 / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.2178, allocations: 0 / 0.9804 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.218, allocations: 45.62 kB / 0.9805 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.218, allocations: 4 kB / 0.9805 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.218, allocations: 8 kB / 0.9805 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.218, allocations: 0 / 0.9805 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.788e-05/0.2181, allocations: 11.98 kB / 0.9805 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.2183, allocations: 165.6 kB / 0.9806 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.2184, allocations: 42.62 kB / 0.9807 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004767/0.2189, allocations: 0.5583 MB / 0.9812 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.2189, allocations: 34.69 kB / 0.9813 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.723e-06/0.2189, allocations: 0 / 0.9813 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.002442/0.2214, allocations: 451.6 kB / 0.9817 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.2214, allocations: 59.33 kB / 0.9817 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.66e-05/0.2215, allocations: 93.86 kB / 0.9818 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.2215, allocations: 33.64 kB / 0.9819 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.733e-05/0.2216, allocations: 80.14 kB / 0.9819 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.662e-05/0.2216, allocations: 31.55 kB / 0.982 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.2216, allocations: 128 / 0.982 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.917e-05/0.2217, allocations: 326.8 kB / 0.9823 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.388e-05/0.2217, allocations: 12 kB / 0.9823 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.535e-05/0.2218, allocations: 23.98 kB / 0.9823 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.728e-05/0.2219, allocations: 24.12 kB / 0.9823 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2219, allocations: 0 / 0.9823 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001896/0.2221, allocations: 85.62 kB / 0.9824 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.2221, allocations: 5.719 kB / 0.9824 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2221, allocations: 0 / 0.9824 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2222, allocations: 0 / 0.9824 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.2223, allocations: 23.98 kB / 0.9824 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2224, allocations: 0 / 0.9824 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.465e-05/0.2224, allocations: 0 / 0.9824 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.2224, allocations: 4 kB / 0.9824 GB, free: 23.6 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 6.836e-05/0.2225, allocations: 117.7 kB / 0.9826 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.798e-05/0.2226, allocations: 7.906 kB / 0.9826 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002831/0.2228, allocations: 97.62 kB / 0.9827 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2229, allocations: 4 kB / 0.9827 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2229, allocations: 0 / 0.9827 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2229, allocations: 0 / 0.9827 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.223, allocations: 169.6 kB / 0.9828 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.223, allocations: 0 / 0.9828 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.2232, allocations: 19.94 kB / 0.9828 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2232, allocations: 4 kB / 0.9829 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.2233, allocations: 4 kB / 0.9829 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2233, allocations: 0 / 0.9829 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2233, allocations: 0 / 0.9829 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.2236, allocations: 133 kB / 0.983 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.2236, allocations: 85.05 kB / 0.9831 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.2236, allocations: 3.984 kB / 0.9831 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.751e-05/0.2237, allocations: 4 kB / 0.9831 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.2238, allocations: 7.938 kB / 0.9831 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.2238, allocations: 4.062 kB / 0.9831 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.202e-05/0.2238, allocations: 79.38 kB / 0.9832 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.813e-06/0.2238, allocations: 3.938 kB / 0.9832 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003266/0.2242, allocations: 31.92 kB / 0.9832 GB, free: 22.74 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.000547/0.2247, allocations: 0.687 MB / 0.9839 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.2249, allocations: 55.98 kB / 0.9839 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2249, allocations: 0 / 0.9839 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.803e-05/0.225, allocations: 31.98 kB / 0.9839 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001281/0.2252, allocations: 0 / 0.9839 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008471/0.226, allocations: 454.6 kB / 0.9844 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.2262, allocations: 0.6809 MB / 0.985 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.2263, allocations: 12.25 kB / 0.9851 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.312e-05/0.2263, allocations: 15.42 kB / 0.9851 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of SimCode: time 8.11e-07/0.2264, allocations: 0 / 0.9851 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.2471, allocations: 1.534 MB / 0.9866 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001949/0.2474, allocations: 209.2 kB / 0.9868 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/2.62, allocations: 6.188 kB / 0.9868 GB, free: 19.11 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)