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 1.686/1.686, allocations: 287.4 MB / 302.6 MB, free: 8.16 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.001042/0.001042, allocations: 182.3 kB / 371.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.4 MB / 0.6298 GB, free: 10.56 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.0009568/0.0009569, allocations: 99.33 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004816, allocations: 12.72 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2354, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007772/0.2362, allocations: 335.5 kB / 0.9791 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001266/0.2375, allocations: 1.027 MB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.2376, allocations: 0 / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.077e-05/0.2376, allocations: 4 kB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.591e-05/0.2376, allocations: 0 / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.238, allocations: 51.86 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.072e-05/0.2381, allocations: 15.98 kB / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.2381, allocations: 0 / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.212e-05/0.2381, allocations: 7.938 kB / 0.9801 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.686e-05/0.2382, allocations: 11.98 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.558e-05/0.2382, allocations: 4 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.2384, allocations: 99.83 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.2385, allocations: 4 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.2385, allocations: 25.7 kB / 0.9803 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.966e-05/0.2386, allocations: 43.94 kB / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.395e-06/0.2386, allocations: 0 / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.265e-06/0.2386, allocations: 0 / 0.9803 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.2386, allocations: 0 / 0.9803 GB, free: 26.44 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.0004004/0.239, allocations: 327.5 kB / 0.9806 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.2391, allocations: 12.03 kB / 0.9807 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.2391, allocations: 38.75 kB / 0.9807 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.963e-05/0.2392, allocations: 4.844 kB / 0.9807 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.938e-05/0.2393, allocations: 172.6 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.2393, allocations: 384 / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.2393, allocations: 4.375 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.2395, allocations: 54.19 kB / 0.9809 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2395, allocations: 3.938 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.2395, allocations: 0 / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.2395, allocations: 0 / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.797e-05/0.2396, allocations: 12 kB / 0.9809 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001466/0.2397, allocations: 157.7 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.696e-05/0.2398, allocations: 46.61 kB / 0.9811 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.398e-05/0.2398, allocations: 24.97 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003818/0.2402, allocations: 0.5621 MB / 0.9817 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.2403, allocations: 34.56 kB / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.2403, allocations: 0 / 0.9817 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001743/0.242, allocations: 462 kB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.2421, allocations: 51.41 kB / 0.9822 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.298e-05/0.2421, allocations: 93.86 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.2422, allocations: 29.7 kB / 0.9823 GB, free: 24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.362e-05/0.2422, allocations: 80.14 kB / 0.9824 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.746e-05/0.2422, allocations: 31.55 kB / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.2422, allocations: 0 / 0.9824 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.2423, allocations: 311 kB / 0.9827 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.757e-05/0.2424, allocations: 27.98 kB / 0.9828 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.55e-05/0.2424, allocations: 23.92 kB / 0.9828 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.535e-05/0.2425, allocations: 44.86 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.2425, allocations: 0 / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001339/0.2427, allocations: 89.56 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.2427, allocations: 4 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2427, allocations: 4 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.2427, allocations: 448 / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.2429, allocations: 15.98 kB / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2429, allocations: 288 / 0.9829 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.613e-05/0.2429, allocations: 8 kB / 0.983 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.2429, allocations: 4 kB / 0.983 GB, free: 23.35 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 9.233e-05/0.243, allocations: 117.7 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.2431, allocations: 11.84 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.2433, allocations: 105.6 kB / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.2433, allocations: 0 / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2433, allocations: 0 / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2433, allocations: 0 / 0.9832 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.2435, allocations: 165.7 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2435, allocations: 3.938 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.2436, allocations: 15.98 kB / 0.9834 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2436, allocations: 3.938 kB / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.2436, allocations: 4 kB / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.2436, allocations: 0 / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2436, allocations: 7.938 kB / 0.9834 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.2439, allocations: 133.1 kB / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.2439, allocations: 84.95 kB / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.2439, allocations: 0 / 0.9836 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.537e-05/0.244, allocations: 12.02 kB / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.244, allocations: 0 / 0.9836 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.2441, allocations: 4 kB / 0.9836 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.486e-05/0.2441, allocations: 79.34 kB / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2441, allocations: 0 / 0.9837 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002215/0.2443, allocations: 31.98 kB / 0.9837 GB, free: 22.48 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.0004927/0.2448, allocations: 0.6866 MB / 0.9844 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.245, allocations: 60.08 kB / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.245, allocations: 0 / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.245, allocations: 24 kB / 0.9845 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000152/0.2452, allocations: 7.984 kB / 0.9845 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.2458, allocations: 459.7 kB / 0.9849 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.246, allocations: 0.6888 MB / 0.9856 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.187e-05/0.246, allocations: 8.469 kB / 0.9856 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.2461, allocations: 15.44 kB / 0.9856 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2461, allocations: 0 / 0.9856 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01247/0.2586, allocations: 1.533 MB / 0.9871 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/0.2589, allocations: 213 kB / 0.9873 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/1.839, allocations: 0 / 0.9873 GB, free: 18.86 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)