Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0009875/0.0009874, allocations: 103.1 kB / 15.06 MB, free: 1.098 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.0009953/0.0009954, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9645/0.9645, allocations: 143.3 MB / 434.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004122/0.0004124, allocations: 15.98 kB / 0.5159 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.189, allocations: 83.41 MB / 0.5974 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0007562/0.1898, allocations: 315 kB / 0.5977 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.1914, allocations: 1.206 MB / 0.5988 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.157e-05/0.1914, allocations: 0 / 0.5988 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.928e-06/0.1914, allocations: 0 / 0.5988 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.649e-06/0.1914, allocations: 0 / 0.5988 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.1917, allocations: 43.83 kB / 0.5989 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.478e-05/0.1918, allocations: 4 kB / 0.5989 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.1918, allocations: 4 kB / 0.5989 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.459e-05/0.1918, allocations: 0 / 0.5989 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.497e-05/0.1919, allocations: 0 / 0.5989 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.193e-06/0.1919, allocations: 0 / 0.5989 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002107/0.1921, allocations: 99.77 kB / 0.599 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.961e-06/0.1921, allocations: 0 / 0.599 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.531e-05/0.1922, allocations: 29.7 kB / 0.599 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.835e-05/0.1923, allocations: 35.94 kB / 0.5991 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1923, allocations: 0 / 0.5991 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1923, allocations: 0 / 0.5991 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.1923, allocations: 0 / 0.5991 GB, free: 6.008 MB / 0.4981 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.0003147/0.1926, allocations: 323.4 kB / 0.5994 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.1927, allocations: 12.03 kB / 0.5994 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.306e-05/0.1927, allocations: 34.55 kB / 0.5994 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.759e-05/0.1927, allocations: 0 / 0.5994 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.415e-05/0.1928, allocations: 163 kB / 0.5996 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.767e-06/0.1928, allocations: 0 / 0.5996 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.1928, allocations: 0 / 0.5996 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.921e-05/0.1929, allocations: 37.64 kB / 0.5996 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.193, allocations: 4 kB / 0.5996 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.143e-06/0.193, allocations: 0 / 0.5996 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.193, allocations: 0 / 0.5996 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.09e-05/0.193, allocations: 3.938 kB / 0.5996 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001292/0.1931, allocations: 153.6 kB / 0.5998 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.231e-05/0.1932, allocations: 14.58 kB / 0.5998 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005687/0.1937, allocations: 0.5701 MB / 0.6003 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.1938, allocations: 30.56 kB / 0.6004 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 3.256e-06/0.1938, allocations: 3.984 kB / 0.6004 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001178/0.1939, allocations: 37.64 kB / 0.6004 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.194, allocations: 51.41 kB / 0.6004 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.727e-05/0.194, allocations: 89.86 kB / 0.6005 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.194, allocations: 29.7 kB / 0.6006 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.46e-05/0.1941, allocations: 84.27 kB / 0.6006 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.1941, allocations: 3.906 kB / 0.6006 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.1941, allocations: 3.938 kB / 0.6006 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1942, allocations: 318.8 kB / 0.6009 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-06/0.1942, allocations: 4 kB / 0.6009 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.899e-06/0.1943, allocations: 0 / 0.6009 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.481e-05/0.1943, allocations: 0 / 0.6009 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1943, allocations: 0 / 0.6009 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.19e-05/0.1943, allocations: 41.7 kB / 0.601 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1944, allocations: 4 kB / 0.601 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.1944, allocations: 0 / 0.601 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.1944, allocations: 0 / 0.601 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.268e-05/0.1944, allocations: 4 kB / 0.601 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.1944, allocations: 0 / 0.601 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.096e-05/0.1945, allocations: 0 / 0.601 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1945, allocations: 3.984 kB / 0.601 GB, free: 3.66 MB / 0.4981 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 7.058e-05/0.1945, allocations: 113.8 kB / 0.6011 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.62e-06/0.1946, allocations: 8.031 kB / 0.6011 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.935e-05/0.1946, allocations: 33.11 kB / 0.6011 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1946, allocations: 0 / 0.6011 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1947, allocations: 0 / 0.6011 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1947, allocations: 0 / 0.6011 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.124e-05/0.1948, allocations: 161.6 kB / 0.6013 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1948, allocations: 0 / 0.6013 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.307e-05/0.1948, allocations: 0 / 0.6013 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1948, allocations: 4.031 kB / 0.6013 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.1948, allocations: 0 / 0.6013 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.1948, allocations: 4 kB / 0.6013 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1948, allocations: 7.938 kB / 0.6013 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.078e-05/0.1949, allocations: 53.12 kB / 0.6014 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.262e-05/0.1949, allocations: 85 kB / 0.6014 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.1949, allocations: 4 kB / 0.6015 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.049e-05/0.1949, allocations: 4 kB / 0.6015 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.227e-05/0.195, allocations: 4.031 kB / 0.6015 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.195, allocations: 0 / 0.6015 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.072e-05/0.195, allocations: 75.28 kB / 0.6015 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.195, allocations: 0 / 0.6015 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001868/0.1952, allocations: 7.984 kB / 0.6015 GB, free: 3.008 MB / 0.4981 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.000381/0.1956, allocations: 0.6163 MB / 0.6021 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.459e-05/0.1957, allocations: 4 kB / 0.6021 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1957, allocations: 0 / 0.6021 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.641e-06/0.1957, allocations: 0 / 0.6021 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.296e-05/0.1958, allocations: 4 kB / 0.6021 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/0.196, allocations: 108.3 kB / 0.6023 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1963, allocations: 0.6731 MB / 0.6029 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.958e-05/0.1963, allocations: 4.125 kB / 0.6029 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.519e-05/0.1963, allocations: 11.44 kB / 0.6029 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1963, allocations: 0 / 0.6029 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00981/0.2062, allocations: 0.8355 MB / 0.6037 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.2064, allocations: 197.1 kB / 0.6039 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/1.786, allocations: 0 / 0.6039 GB, free: 0.5703 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) Environment - environmentSimulation: