Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002254/0.002254, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.45/3.45, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.955/2.955, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 21.28 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5189/0.5204, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001344/0.5218, allocations: 313.8 kB / 0.7875 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002453/0.5243, allocations: 1.237 MB / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.674e-05/0.5244, allocations: 0 / 0.7887 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.285e-05/0.5244, allocations: 4 kB / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.811e-06/0.5244, allocations: 0 / 0.7888 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.5248, allocations: 43.83 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.673e-05/0.5249, allocations: 0 / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.536e-05/0.525, allocations: 3.984 kB / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.071e-05/0.525, allocations: 4 kB / 0.7888 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.529e-05/0.5251, allocations: 7.922 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.916e-06/0.5251, allocations: 0 / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002795/0.5254, allocations: 79.91 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.014e-05/0.5254, allocations: 8 kB / 0.7889 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.5255, allocations: 25.7 kB / 0.7889 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.5256, allocations: 27.97 kB / 0.7889 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5256, allocations: 0 / 0.7889 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5256, allocations: 0 / 0.7889 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.5256, allocations: 0 / 0.7889 GB, free: 10.09 MB / 0.6075 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.0005999/0.5263, allocations: 327.4 kB / 0.7893 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.43e-05/0.5264, allocations: 12.03 kB / 0.7893 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.5264, allocations: 30.56 kB / 0.7893 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.5265, allocations: 0 / 0.7893 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.5267, allocations: 167 kB / 0.7895 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.5267, allocations: 0 / 0.7895 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.5267, allocations: 7.938 kB / 0.7895 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.5269, allocations: 29.7 kB / 0.7895 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5269, allocations: 0 / 0.7895 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.5269, allocations: 0 / 0.7895 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.5269, allocations: 3.984 kB / 0.7895 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.549e-05/0.527, allocations: 0 / 0.7895 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002296/0.5272, allocations: 153.6 kB / 0.7896 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.353e-05/0.5273, allocations: 22.56 kB / 0.7897 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007639/0.5281, allocations: 0.5662 MB / 0.7902 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.5281, allocations: 30.56 kB / 0.7902 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.5281, allocations: 0 / 0.7902 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001896/0.5283, allocations: 37.69 kB / 0.7903 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.5284, allocations: 51.41 kB / 0.7903 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.757e-05/0.5285, allocations: 93.98 kB / 0.7904 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.5285, allocations: 25.7 kB / 0.7904 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.099e-05/0.5285, allocations: 84.12 kB / 0.7905 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.5286, allocations: 7.906 kB / 0.7905 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/0.5286, allocations: 0 / 0.7905 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.5288, allocations: 314.8 kB / 0.7908 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.111e-05/0.5288, allocations: 0 / 0.7908 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.558e-06/0.5288, allocations: 3.938 kB / 0.7908 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.68e-05/0.5288, allocations: 8.016 kB / 0.7908 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.5289, allocations: 4 kB / 0.7908 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.496e-05/0.5289, allocations: 33.69 kB / 0.7909 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.529, allocations: 4 kB / 0.7909 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.529, allocations: 0 / 0.7909 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.285e-05/0.529, allocations: 0 / 0.7909 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.49e-05/0.5291, allocations: 7.938 kB / 0.7909 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.5291, allocations: 0 / 0.7909 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.574e-05/0.5292, allocations: 3.938 kB / 0.7909 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.5292, allocations: 0 / 0.7909 GB, free: 7.734 MB / 0.6075 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 0.0001628/0.5293, allocations: 122.1 kB / 0.791 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.5294, allocations: 0 / 0.791 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.5295, allocations: 40.75 kB / 0.7911 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.5295, allocations: 0 / 0.7911 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5296, allocations: 0 / 0.7911 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5296, allocations: 0 / 0.7911 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.5297, allocations: 149.6 kB / 0.7912 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.5298, allocations: 7.984 kB / 0.7912 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.5298, allocations: 7.984 kB / 0.7912 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.5298, allocations: 0 / 0.7912 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.5298, allocations: 4 kB / 0.7912 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5298, allocations: 0 / 0.7912 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5298, allocations: 0 / 0.7912 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.53, allocations: 57.08 kB / 0.7913 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.875e-05/0.5301, allocations: 81.06 kB / 0.7913 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.5301, allocations: 12.02 kB / 0.7914 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.25e-05/0.5301, allocations: 0 / 0.7914 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.576e-05/0.5302, allocations: 0 / 0.7914 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.5302, allocations: 0 / 0.7914 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.053e-05/0.5302, allocations: 75.28 kB / 0.7914 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5302, allocations: 0 / 0.7914 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003156/0.5306, allocations: 12 kB / 0.7914 GB, free: 7.07 MB / 0.6075 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.000706/0.5313, allocations: 0.6046 MB / 0.792 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.5315, allocations: 7.938 kB / 0.792 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.5315, allocations: 0 / 0.792 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.157e-06/0.5315, allocations: 0 / 0.792 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.5317, allocations: 4 kB / 0.792 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/0.5322, allocations: 108.5 kB / 0.7921 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.5326, allocations: 0.677 MB / 0.7928 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.334e-05/0.5327, allocations: 0 / 0.7928 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.5327, allocations: 7.438 kB / 0.7928 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.5327, allocations: 0 / 0.7928 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01712/0.5498, allocations: 0.8306 MB / 0.7936 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002527/0.5502, allocations: 196.4 kB / 0.7938 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.038/3.588, allocations: 0 / 0.7938 GB, free: 4.621 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) Environment - environmentSimulation: