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.577/1.577, allocations: 249.3 MB / 261.8 MB, free: 5.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001341/0.001341, allocations: 180.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.001036/0.001036, allocations: 82.55 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.949e-05/4.952e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2723, allocations: 106.3 MB / 0.8919 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8164/1.089, allocations: 131.9 MB / 1.021 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/1.089, allocations: 83.81 kB / 1.021 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005334/1.095, allocations: 1.644 MB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.743e-06/1.095, allocations: 0 / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.264e-06/1.095, allocations: 3.938 kB / 1.022 GB, free: 1.004 MB / 0.6355 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.0003796/1.095, allocations: 334.1 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.56e-05/1.095, allocations: 8.031 kB / 1.023 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.924e-05/1.095, allocations: 34.56 kB / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/1.095, allocations: 0 / 1.023 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/1.095, allocations: 163 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/1.095, allocations: 4 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/1.095, allocations: 3.984 kB / 1.023 GB, free: 388 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/1.095, allocations: 32.42 kB / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.096, allocations: 0 / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.967e-06/1.096, allocations: 0 / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.096, allocations: 0 / 1.023 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.386e-05/1.096, allocations: 3.938 kB / 1.023 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/1.096, allocations: 153 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.801e-05/1.096, allocations: 18.58 kB / 1.023 GB, free: 120 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.921e-05/1.096, allocations: 4.859 kB / 1.023 GB, free: 112 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006522/1.096, allocations: 0.5622 MB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/1.097, allocations: 36.88 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/1.097, allocations: 0 / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001292/1.097, allocations: 33.64 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/1.097, allocations: 55.44 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.922e-05/1.097, allocations: 85 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/1.097, allocations: 25.7 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/1.097, allocations: 84.12 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/1.097, allocations: 3.25 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/1.097, allocations: 3.938 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.097, allocations: 318.8 kB / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-06/1.097, allocations: 0 / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-06/1.097, allocations: 4 kB / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.89e-05/1.097, allocations: 4 kB / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/1.097, allocations: 3.953 kB / 1.024 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.832e-05/1.097, allocations: 29.7 kB / 1.024 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.097, allocations: 4 kB / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/1.097, allocations: 0 / 1.024 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/1.097, allocations: 7.938 kB / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.568e-05/1.097, allocations: 3.938 kB / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.097, allocations: 0 / 1.024 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.317e-05/1.097, allocations: 8.078 kB / 1.024 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/1.097, allocations: 0 / 1.024 GB, free: 14.67 MB / 0.6511 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 () * 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 7.488e-05/1.097, allocations: 108.9 kB / 1.024 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.955e-06/1.097, allocations: 3.953 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/1.098, allocations: 40.72 kB / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/1.098, allocations: 0 / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.098, allocations: 0 / 1.025 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/1.098, allocations: 8.031 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001101/1.098, allocations: 145.7 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/1.098, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.539e-05/1.098, allocations: 3.953 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/1.098, allocations: 4 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/1.098, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/1.098, allocations: 8.797 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.098, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.669e-05/1.098, allocations: 65.05 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/1.098, allocations: 85.02 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/1.098, allocations: 3.953 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-06/1.098, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/1.098, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/1.098, allocations: 0.75 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.918e-05/1.098, allocations: 75.28 kB / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.098, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000201/1.098, allocations: 15 kB / 1.025 GB, free: 14.03 MB / 0.6511 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 () * 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.0005084/1.099, allocations: 0.6037 MB / 1.026 GB, free: 13.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.21e-05/1.099, allocations: 4 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.099, allocations: 0 / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.486e-06/1.099, allocations: 4 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001058/1.099, allocations: 4.109 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003046/1.099, allocations: 90.09 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/1.1, allocations: 0.6809 MB / 1.026 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.412e-05/1.1, allocations: 0 / 1.026 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/1.1, allocations: 11.94 kB / 1.026 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of SimCode: time 3.4e-07/1.1, allocations: 0 / 1.026 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01117/1.111, allocations: 0.8278 MB / 1.027 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/1.111, allocations: 170.6 kB / 1.027 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.456/2.568, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.6511 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)