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.317/1.317, allocations: 252 MB / 267.3 MB, free: 10.85 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.0009115/0.0009116, allocations: 169.3 kB / 327 MB, free: 2.102 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.51/1.51, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0006699/0.0006699, allocations: 87.86 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002909, allocations: 11.91 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1656, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0006996/0.1663, allocations: 326.1 kB / 0.9012 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1678, allocations: 1.281 MB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.158e-06/0.1679, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.1679, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-06/0.1679, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.1682, allocations: 47.83 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.559e-05/0.1683, allocations: 0 / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.1683, allocations: 0 / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.364e-05/0.1683, allocations: 4 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.1684, allocations: 0 / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.686e-06/0.1684, allocations: 3.938 kB / 0.9025 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002014/0.1686, allocations: 95.89 kB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.123e-05/0.1686, allocations: 0 / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.1687, allocations: 29.7 kB / 0.9027 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001128/0.1688, allocations: 47.94 kB / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1688, allocations: 0 / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1688, allocations: 0 / 0.9027 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.1688, allocations: 0 / 0.9027 GB, free: 61.54 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.0002127/0.169, allocations: 329.8 kB / 0.903 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.1691, allocations: 8.031 kB / 0.903 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.831e-05/0.1691, allocations: 34.75 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.965e-05/0.1691, allocations: 0.9375 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.294e-05/0.1692, allocations: 160.4 kB / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1692, allocations: 384 / 0.9032 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-06/0.1692, allocations: 4.375 kB / 0.9032 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.129e-05/0.1693, allocations: 37.75 kB / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.1693, allocations: 0 / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-06/0.1693, allocations: 0 / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1693, allocations: 0 / 0.9033 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.719e-05/0.1694, allocations: 7.938 kB / 0.9033 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.83e-05/0.1695, allocations: 149.7 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.45e-05/0.1695, allocations: 14.58 kB / 0.9034 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.537e-05/0.1695, allocations: 16.95 kB / 0.9034 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004084/0.17, allocations: 0.5622 MB / 0.904 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.17, allocations: 46.44 kB / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.17, allocations: 0 / 0.904 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001444/0.1701, allocations: 29.7 kB / 0.9041 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.966e-05/0.1702, allocations: 55.41 kB / 0.9041 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.724e-05/0.1702, allocations: 93.84 kB / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.123e-06/0.1702, allocations: 25.7 kB / 0.9042 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.044e-05/0.1702, allocations: 80.14 kB / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.1703, allocations: 0 / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.1703, allocations: 128 / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.404e-05/0.1703, allocations: 318.8 kB / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.294e-06/0.1703, allocations: 0 / 0.9046 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-06/0.1703, allocations: 7.938 kB / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.22e-05/0.1704, allocations: 8.859 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1704, allocations: 0 / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.203e-05/0.1704, allocations: 29.7 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1704, allocations: 7.938 kB / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1704, allocations: 8.078 kB / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1705, allocations: 0 / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.006e-05/0.1705, allocations: 4 kB / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1705, allocations: 0 / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.071e-05/0.1705, allocations: 0 / 0.9047 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.1705, allocations: 0 / 0.9047 GB, free: 59.18 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.1706, allocations: 109.8 kB / 0.9048 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.714e-06/0.1706, allocations: 15.86 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.849e-05/0.1707, allocations: 40.81 kB / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.1707, allocations: 0 / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1707, allocations: 0 / 0.9048 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1707, allocations: 4 kB / 0.9048 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.356e-05/0.1708, allocations: 145.7 kB / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.1708, allocations: 0 / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.596e-05/0.1708, allocations: 0 / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1708, allocations: 3.938 kB / 0.905 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.1708, allocations: 7.984 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1708, allocations: 0 / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1708, allocations: 4.031 kB / 0.905 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.964e-05/0.1709, allocations: 57.08 kB / 0.905 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.1709, allocations: 88.98 kB / 0.9051 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.1709, allocations: 3.938 kB / 0.9051 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.024e-05/0.1709, allocations: 3.984 kB / 0.9051 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.005e-05/0.171, allocations: 0 / 0.9051 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.171, allocations: 0 / 0.9051 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.293e-05/0.171, allocations: 79.31 kB / 0.9052 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.171, allocations: 0 / 0.9052 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00019/0.1712, allocations: 8 kB / 0.9052 GB, free: 58.51 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 (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.0002506/0.1714, allocations: 0.6085 MB / 0.9058 GB, free: 57.87 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.754e-05/0.1715, allocations: 8.031 kB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1715, allocations: 0 / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.65e-06/0.1715, allocations: 0 / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001165/0.1717, allocations: 4 kB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.1719, allocations: 108.3 kB / 0.9059 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.813e-05/0.172, allocations: 0.6692 MB / 0.9066 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.987e-05/0.172, allocations: 4.125 kB / 0.9066 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.209e-05/0.172, allocations: 7.438 kB / 0.9066 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.1721, allocations: 0 / 0.9066 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009515/0.1816, allocations: 0.8559 MB / 0.9074 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001543/0.1817, allocations: 219.8 kB / 0.9076 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/1.676, allocations: 0 / 0.9076 GB, free: 56.06 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)