Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.554/1.554, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001097, allocations: 175.7 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.4 MB / 0.5775 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008685/0.0008685, allocations: 101.5 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.000355, allocations: 11.84 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2184, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0005841/0.2191, allocations: 329.2 kB / 0.9005 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2204, allocations: 1.244 MB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.518e-06/0.2204, allocations: 0 / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.037e-06/0.2204, allocations: 0 / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.188e-06/0.2204, allocations: 0 / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.2207, allocations: 43.77 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.092e-05/0.2207, allocations: 4 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.007e-05/0.2208, allocations: 4 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.463e-05/0.2208, allocations: 3.984 kB / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.907e-05/0.2209, allocations: 0 / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.084e-06/0.2209, allocations: 0 / 0.9017 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.2211, allocations: 83.91 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.04e-06/0.2211, allocations: 0 / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.58e-05/0.2211, allocations: 25.7 kB / 0.9018 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.575e-05/0.2212, allocations: 35.95 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.2212, allocations: 0 / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2212, allocations: 4 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.257e-06/0.2212, allocations: 0 / 0.9019 GB, free: 62.04 MB / 0.6042 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.0001957/0.2214, allocations: 323.4 kB / 0.9022 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2215, allocations: 12.03 kB / 0.9022 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.622e-05/0.2215, allocations: 34.5 kB / 0.9022 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.249e-05/0.2215, allocations: 3.953 kB / 0.9022 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.71e-05/0.2216, allocations: 163.1 kB / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.2216, allocations: 0 / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.2216, allocations: 0 / 0.9024 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.716e-05/0.2217, allocations: 33.7 kB / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2217, allocations: 0 / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.2217, allocations: 0 / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.2218, allocations: 0 / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.126e-05/0.2218, allocations: 4 kB / 0.9024 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.872e-05/0.2219, allocations: 157.6 kB / 0.9026 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.433e-05/0.2219, allocations: 18.52 kB / 0.9026 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004384/0.2224, allocations: 0.5623 MB / 0.9031 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.2224, allocations: 34.56 kB / 0.9032 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2224, allocations: 0 / 0.9032 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001162/0.2225, allocations: 33.69 kB / 0.9032 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.2226, allocations: 51.41 kB / 0.9033 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.573e-05/0.2226, allocations: 93.8 kB / 0.9034 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.2226, allocations: 29.83 kB / 0.9034 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.144e-05/0.2226, allocations: 80.14 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.2226, allocations: 0 / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.2226, allocations: 4 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.281e-05/0.2227, allocations: 318.8 kB / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-06/0.2227, allocations: 0 / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.2227, allocations: 0 / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.816e-05/0.2227, allocations: 4 kB / 0.9038 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2227, allocations: 0 / 0.9038 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.453e-05/0.2228, allocations: 41.69 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.2228, allocations: 4 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2228, allocations: 0 / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.2228, allocations: 4 kB / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.976e-05/0.2229, allocations: 0 / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.2229, allocations: 0 / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.149e-05/0.2229, allocations: 0 / 0.9038 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.2229, allocations: 0 / 0.9038 GB, free: 59.71 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/0.223, allocations: 117.7 kB / 0.9039 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-06/0.223, allocations: 4.031 kB / 0.9039 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.916e-05/0.2231, allocations: 40.81 kB / 0.904 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.2231, allocations: 0 / 0.904 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2231, allocations: 4 kB / 0.904 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.2231, allocations: 0 / 0.904 GB, free: 59.53 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.373e-05/0.2232, allocations: 145.6 kB / 0.9041 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2232, allocations: 3.984 kB / 0.9041 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.486e-05/0.2232, allocations: 0 / 0.9041 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2232, allocations: 12.03 kB / 0.9041 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.2232, allocations: 0 / 0.9041 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.2232, allocations: 3.938 kB / 0.9041 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2232, allocations: 0 / 0.9041 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.17e-05/0.2233, allocations: 65.06 kB / 0.9042 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.653e-05/0.2233, allocations: 85.05 kB / 0.9043 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.2233, allocations: 0 / 0.9043 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.005e-05/0.2233, allocations: 32 / 0.9043 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.229e-05/0.2233, allocations: 4 kB / 0.9043 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.2233, allocations: 0 / 0.9043 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.208e-05/0.2234, allocations: 79.31 kB / 0.9044 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2234, allocations: 0 / 0.9044 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002151/0.2236, allocations: 8 kB / 0.9044 GB, free: 59.04 MB / 0.6042 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 (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.000249/0.2238, allocations: 0.6046 MB / 0.905 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.287e-05/0.2239, allocations: 8 kB / 0.905 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2239, allocations: 0 / 0.905 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.522e-06/0.2239, allocations: 4 kB / 0.905 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.228e-05/0.224, allocations: 0.5156 kB / 0.905 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.2243, allocations: 102.8 kB / 0.9051 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.705e-05/0.2244, allocations: 0.6772 MB / 0.9057 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.025e-05/0.2244, allocations: 4 kB / 0.9057 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.204e-05/0.2244, allocations: 11.44 kB / 0.9057 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2244, allocations: 3.938 kB / 0.9057 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01007/0.2345, allocations: 0.8307 MB / 0.9066 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001288/0.2347, allocations: 192.7 kB / 0.9067 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.331/1.566, allocations: 6.125 kB / 0.9067 GB, free: 56.63 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)