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.374/1.374, allocations: 252 MB / 267 MB, free: 10.99 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.0009292/0.0009294, allocations: 170.5 kB / 326.6 MB, free: 2.258 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.757/1.757, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0008073/0.0008073, allocations: 95.22 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003728, allocations: 14.73 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2718, allocations: 106.3 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.000766/0.2727, allocations: 326 kB / 0.9006 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.2744, allocations: 1.239 MB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.458e-05/0.2744, allocations: 4 kB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.325e-05/0.2744, allocations: 0 / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 1.034e-05/0.2744, allocations: 0 / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.2748, allocations: 43.89 kB / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.452e-05/0.2749, allocations: 4 kB / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.2749, allocations: 0 / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.668e-05/0.275, allocations: 0 / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.275, allocations: 0 / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.335e-06/0.275, allocations: 0 / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002375/0.2753, allocations: 99.83 kB / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.645e-06/0.2753, allocations: 0 / 0.902 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.2754, allocations: 29.64 kB / 0.902 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.2755, allocations: 39.89 kB / 0.902 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.2755, allocations: 4 kB / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2755, allocations: 0 / 0.9021 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2755, allocations: 0 / 0.9021 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.0002832/0.2758, allocations: 323.4 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.2758, allocations: 8.031 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.336e-05/0.2759, allocations: 30.56 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.535e-05/0.2759, allocations: 3.953 kB / 0.9024 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.846e-05/0.276, allocations: 159.1 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.276, allocations: 0 / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.175e-06/0.276, allocations: 4 kB / 0.9026 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.2761, allocations: 33.69 kB / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.2762, allocations: 0 / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.2762, allocations: 0 / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.2762, allocations: 0 / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.322e-05/0.2762, allocations: 7.938 kB / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001239/0.2763, allocations: 149.6 kB / 0.9027 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.995e-05/0.2764, allocations: 14.58 kB / 0.9028 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.704e-05/0.2764, allocations: 12.95 kB / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004735/0.2769, allocations: 0.5622 MB / 0.9033 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.2769, allocations: 30.56 kB / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.2769, allocations: 0 / 0.9033 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.2771, allocations: 33.64 kB / 0.9034 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.2771, allocations: 55.53 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.414e-05/0.2771, allocations: 97.86 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.2772, allocations: 29.69 kB / 0.9036 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.34e-05/0.2772, allocations: 80.14 kB / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.2772, allocations: 0 / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.2772, allocations: 0 / 0.9036 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.317e-05/0.2773, allocations: 314.8 kB / 0.9039 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-06/0.2773, allocations: 0 / 0.9039 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-06/0.2773, allocations: 4 kB / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.923e-05/0.2774, allocations: 4.062 kB / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.2774, allocations: 0 / 0.9039 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.581e-05/0.2774, allocations: 41.58 kB / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.2774, allocations: 6.812 kB / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2775, allocations: 0 / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2775, allocations: 3.984 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.109e-05/0.2775, allocations: 4 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2775, allocations: 4 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.317e-05/0.2776, allocations: 0 / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.2776, allocations: 7.969 kB / 0.904 GB, free: 59.69 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 5.727e-05/0.2776, allocations: 113.8 kB / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-06/0.2777, allocations: 0 / 0.9041 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.719e-05/0.2778, allocations: 40.81 kB / 0.9041 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2778, allocations: 7.922 kB / 0.9042 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2778, allocations: 0 / 0.9042 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2778, allocations: 0 / 0.9042 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.121e-05/0.2779, allocations: 153.7 kB / 0.9043 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2779, allocations: 0 / 0.9043 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.2779, allocations: 4 kB / 0.9043 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2779, allocations: 0 / 0.9043 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.2779, allocations: 0 / 0.9043 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.2779, allocations: 3.984 kB / 0.9043 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2779, allocations: 0 / 0.9043 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.836e-05/0.278, allocations: 57.09 kB / 0.9044 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.278, allocations: 81.14 kB / 0.9044 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.278, allocations: 4 kB / 0.9044 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.348e-06/0.278, allocations: 0 / 0.9044 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.2781, allocations: 7.984 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.2781, allocations: 0 / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.03e-05/0.2781, allocations: 79.31 kB / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.693e-06/0.2781, allocations: 0 / 0.9045 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001989/0.2783, allocations: 7.938 kB / 0.9045 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.0002947/0.2786, allocations: 0.6007 MB / 0.9051 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 6.83e-05/0.2787, allocations: 4 kB / 0.9051 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2787, allocations: 0 / 0.9051 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.434e-06/0.2787, allocations: 7.938 kB / 0.9051 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.2789, allocations: 0 / 0.9051 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.2791, allocations: 123 kB / 0.9053 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.2793, allocations: 0.6692 MB / 0.9059 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.368e-05/0.2793, allocations: 4 kB / 0.9059 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.2793, allocations: 7.438 kB / 0.9059 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.2793, allocations: 0 / 0.9059 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.2962, allocations: 0.8498 MB / 0.9067 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.2965, allocations: 208.5 kB / 0.9069 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/1.847, allocations: 0 / 0.9069 GB, free: 56.6 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)