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.566/1.566, allocations: 249.5 MB / 257 MB, free: 6.922 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.001032/0.001032, allocations: 179.5 kB / 316.3 MB, free: 3.238 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.806/1.806, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0008536/0.0008535, allocations: 98.34 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.351e-05/2.353e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2202, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7578/0.978, allocations: 132.2 MB / 1.014 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/0.9784, allocations: 80.31 kB / 1.015 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004908/0.9833, allocations: 1.644 MB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.897e-06/0.9834, allocations: 0 / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.9834, allocations: 3.938 kB / 1.016 GB, free: 4.012 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.000298/0.9837, allocations: 337.6 kB / 1.016 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.9837, allocations: 15.97 kB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.9838, allocations: 4 kB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.9839, allocations: 163 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.9839, allocations: 0 / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.9839, allocations: 3.984 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.038e-05/0.984, allocations: 0 / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.769e-05/0.984, allocations: 29.7 kB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.9841, allocations: 0 / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.9841, allocations: 3.984 kB / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.9841, allocations: 0 / 1.017 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.9842, allocations: 130.2 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.899e-05/0.9843, allocations: 28.89 kB / 1.017 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.9843, allocations: 4.859 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005026/0.9848, allocations: 0.5545 MB / 1.017 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.9848, allocations: 34.56 kB / 1.017 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.9848, allocations: 0 / 1.017 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.00016/0.985, allocations: 37 kB / 1.017 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.9851, allocations: 55.41 kB / 1.017 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.486e-05/0.9851, allocations: 85 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.9851, allocations: 25.7 kB / 1.018 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.042e-05/0.9852, allocations: 80.14 kB / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.9852, allocations: 0 / 1.018 GB, free: 2.141 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.9852, allocations: 3.938 kB / 1.018 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.9853, allocations: 314.9 kB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-06/0.9853, allocations: 0 / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-06/0.9854, allocations: 4 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.203e-05/0.9854, allocations: 3.984 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9854, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.345e-05/0.9855, allocations: 40.84 kB / 1.018 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.9855, allocations: 4 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.9855, allocations: 0 / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.9855, allocations: 4.094 kB / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.303e-05/0.9856, allocations: 7.938 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.9856, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.183e-05/0.9856, allocations: 3.938 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.9856, allocations: 0 / 1.018 GB, free: 1.754 MB / 0.6355 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.174e-05/0.9857, allocations: 101 kB / 1.018 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.77e-05/0.9857, allocations: 45.58 kB / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-06/0.9858, allocations: 0 / 1.018 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.9859, allocations: 56.55 kB / 1.018 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.9859, allocations: 0 / 1.018 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.9859, allocations: 0 / 1.018 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.9859, allocations: 3.938 kB / 1.018 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.907e-05/0.986, allocations: 122.2 kB / 1.018 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.986, allocations: 0 / 1.018 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-05/0.986, allocations: 4 kB / 1.018 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.986, allocations: 3.953 kB / 1.018 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.986, allocations: 3.984 kB / 1.018 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.986, allocations: 0 / 1.018 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.986, allocations: 4.031 kB / 1.018 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.098e-05/0.9861, allocations: 64.05 kB / 1.018 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.034e-05/0.9862, allocations: 77.11 kB / 1.018 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.9862, allocations: 7.938 kB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-06/0.9862, allocations: 0 / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.313e-05/0.9862, allocations: 4 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.9863, allocations: 0 / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.596e-05/0.9863, allocations: 79.31 kB / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9863, allocations: 0 / 1.019 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001848/0.9865, allocations: 8 kB / 1.019 GB, free: 1.09 MB / 0.6355 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.0004373/0.9869, allocations: 0.5995 MB / 1.019 GB, free: 476 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.427e-05/0.987, allocations: 8.031 kB / 1.019 GB, free: 468 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.987, allocations: 0 / 1.019 GB, free: 468 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.949e-06/0.987, allocations: 0 / 1.019 GB, free: 468 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.804e-05/0.9871, allocations: 3.953 kB / 1.019 GB, free: 464 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/0.9874, allocations: 88.47 kB / 1.019 GB, free: 340 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.9877, allocations: 0.669 MB / 1.02 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.312e-05/0.9877, allocations: 5.219 kB / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.9877, allocations: 15.42 kB / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/0.9877, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/1.006, allocations: 0.5269 MB / 1.02 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002783/1.006, allocations: 171 kB / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.345/2.351, allocations: 0 / 1.021 GB, free: 14.9 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)