Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 105.4 kB / 15.7 MB, free: 28 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.00199/0.00199, allocations: 186.3 kB / 16.64 MB, free: 6.594 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.382/1.382, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.672/1.672, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001581/0.001581, allocations: 71.77 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2091, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002123/0.2113, allocations: 0.5781 MB / 0.7842 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001776/0.2131, allocations: 1.284 MB / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.923e-05/0.2131, allocations: 3.938 kB / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.2132, allocations: 4 kB / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.51e-06/0.2132, allocations: 0 / 0.7855 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004493/0.2136, allocations: 59.81 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.301e-05/0.2137, allocations: 4 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.779e-05/0.2137, allocations: 0 / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.542e-05/0.2138, allocations: 4 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.472e-05/0.2138, allocations: 7.984 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.2138, allocations: 0 / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002423/0.2141, allocations: 91.84 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.098e-05/0.2141, allocations: 0 / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.2141, allocations: 3.984 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.2143, allocations: 51.89 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2143, allocations: 0 / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2143, allocations: 0 / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.2143, allocations: 0 / 0.7857 GB, free: 11.17 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003047/0.2146, allocations: 327.6 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2147, allocations: 8.031 kB / 0.786 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.984e-05/0.2147, allocations: 34.75 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.128e-05/0.2147, allocations: 0.9375 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.735e-05/0.2148, allocations: 164.4 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.2148, allocations: 384 / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.2149, allocations: 4.375 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.943e-05/0.2149, allocations: 37.75 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.215, allocations: 0 / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.215, allocations: 4 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.215, allocations: 3.938 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.215, allocations: 4 kB / 0.7862 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.2151, allocations: 145.7 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.797e-05/0.2152, allocations: 18.61 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.702e-05/0.2152, allocations: 8.844 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005639/0.2158, allocations: 0.5623 MB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.2158, allocations: 38.5 kB / 0.787 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.2158, allocations: 3.938 kB / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.000127/0.216, allocations: 29.7 kB / 0.787 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.216, allocations: 55.41 kB / 0.7871 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.263e-05/0.2161, allocations: 89.86 kB / 0.7872 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.2161, allocations: 29.69 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.435e-05/0.2161, allocations: 84.27 kB / 0.7873 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.2161, allocations: 3.906 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.2162, allocations: 13.72 kB / 0.7873 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2163, allocations: 314.8 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.719e-06/0.2163, allocations: 0 / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-06/0.2163, allocations: 0 / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.913e-05/0.2163, allocations: 16.73 kB / 0.7876 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2164, allocations: 0 / 0.7876 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.633e-05/0.2164, allocations: 41.75 kB / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2164, allocations: 11.94 kB / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2165, allocations: 0 / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2165, allocations: 0 / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.329e-05/0.2165, allocations: 0 / 0.7877 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/0.2165, allocations: 4 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.152e-05/0.2165, allocations: 0 / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.2166, allocations: 0 / 0.7877 GB, free: 8.777 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 (1): * Single equations (assignments): 1 * 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 6.194e-05/0.2166, allocations: 110.8 kB / 0.7878 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-06/0.2166, allocations: 7.969 kB / 0.7878 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.2167, allocations: 44.75 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2168, allocations: 0 / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2168, allocations: 0 / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.2168, allocations: 0 / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.708e-05/0.2169, allocations: 149.6 kB / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2169, allocations: 0 / 0.788 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.56e-05/0.2169, allocations: 7.984 kB / 0.788 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2169, allocations: 7.969 kB / 0.788 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-06/0.2169, allocations: 0 / 0.788 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2169, allocations: 0 / 0.788 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2169, allocations: 0 / 0.788 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.016e-05/0.217, allocations: 57.08 kB / 0.788 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.341e-05/0.217, allocations: 84.98 kB / 0.7881 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.13e-05/0.2171, allocations: 3.984 kB / 0.7881 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.448e-06/0.2171, allocations: 0 / 0.7881 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.2171, allocations: 12.03 kB / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.2171, allocations: 0 / 0.7881 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.361e-05/0.2171, allocations: 76.34 kB / 0.7882 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2172, allocations: 0 / 0.7882 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002163/0.2174, allocations: 4 kB / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0003845/0.2178, allocations: 0.6077 MB / 0.7888 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.226e-05/0.2178, allocations: 7.938 kB / 0.7888 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.2179, allocations: 4 kB / 0.7888 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.402e-06/0.2179, allocations: 3.938 kB / 0.7888 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.218, allocations: 2.406 kB / 0.7888 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.2183, allocations: 118.6 kB / 0.7889 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.2186, allocations: 0.669 MB / 0.7896 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.022e-05/0.2186, allocations: 12.11 kB / 0.7896 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.69e-05/0.2186, allocations: 7.438 kB / 0.7896 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.2186, allocations: 0 / 0.7896 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.2368, allocations: 1.02 MB / 0.7906 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.464/7.7, allocations: 4.062 kB / 0.7906 GB, free: 5.66 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)