Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002259/0.002259, allocations: 181.7 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6212/0.6212, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 223.2 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 104.2 kB / 427.4 MB, free: 3.898 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003514, allocations: 12 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.176, allocations: 72.31 MB / 0.5689 GB, free: 1.82 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.509/0.685, allocations: 101.8 MB / 0.6684 GB, free: 2.512 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003656/0.6855, allocations: 85.03 kB / 0.6684 GB, free: 2.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006051/0.6916, allocations: 1.737 MB / 0.6701 GB, free: 0.707 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6916, allocations: 0 / 0.6701 GB, free: 0.707 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.79e-06/0.6916, allocations: 0 / 0.6701 GB, free: 0.707 MB / 458.7 MB 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.0003307/0.692, allocations: 339.3 kB / 0.6705 GB, free: 336 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.692, allocations: 8.031 kB / 0.6705 GB, free: 328 kB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.6921, allocations: 30.56 kB / 0.6705 GB, free: 288 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.462e-05/0.6921, allocations: 3.953 kB / 0.6705 GB, free: 284 kB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.648e-05/0.6922, allocations: 163.1 kB / 0.6707 GB, free: 80 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/0.6922, allocations: 4 kB / 0.6707 GB, free: 76 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.6922, allocations: 4 kB / 0.6707 GB, free: 72 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.6924, allocations: 33.62 kB / 0.6707 GB, free: 32 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/0.6924, allocations: 0 / 0.6707 GB, free: 32 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.6924, allocations: 0 / 0.6707 GB, free: 32 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.6924, allocations: 7.938 kB / 0.6707 GB, free: 24 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.481e-05/0.6924, allocations: 4 kB / 0.6707 GB, free: 20 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.6926, allocations: 142.3 kB / 0.6708 GB, free: 15.83 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.626e-05/0.6927, allocations: 26.61 kB / 0.6709 GB, free: 15.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005499/0.6932, allocations: 0.5584 MB / 0.6714 GB, free: 15.11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.6933, allocations: 30.56 kB / 0.6714 GB, free: 15.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.6933, allocations: 0 / 0.6714 GB, free: 15.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001508/0.6934, allocations: 37.64 kB / 0.6715 GB, free: 15.03 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.6935, allocations: 55.34 kB / 0.6715 GB, free: 14.96 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.971e-05/0.6935, allocations: 89.12 kB / 0.6716 GB, free: 14.87 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.6935, allocations: 29.7 kB / 0.6717 GB, free: 14.83 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.933e-05/0.6936, allocations: 80.14 kB / 0.6717 GB, free: 14.75 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.6936, allocations: 3.906 kB / 0.6717 GB, free: 14.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.6936, allocations: 0 / 0.6717 GB, free: 14.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.6937, allocations: 318.7 kB / 0.672 GB, free: 14.43 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.197e-05/0.6938, allocations: 3.984 kB / 0.672 GB, free: 14.42 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.245e-06/0.6938, allocations: 4 kB / 0.672 GB, free: 14.42 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.069e-05/0.6938, allocations: 4.062 kB / 0.672 GB, free: 14.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6938, allocations: 0 / 0.672 GB, free: 14.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.083e-05/0.6939, allocations: 37.64 kB / 0.6721 GB, free: 14.37 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.6939, allocations: 8 kB / 0.6721 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.6939, allocations: 0 / 0.6721 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.6939, allocations: 0 / 0.6721 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-05/0.694, allocations: 0 / 0.6721 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.694, allocations: 0 / 0.6721 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.527e-05/0.694, allocations: 4 kB / 0.6721 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.694, allocations: 0 / 0.6721 GB, free: 14.36 MB / 474.7 MB 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.998e-05/0.6941, allocations: 117.8 kB / 0.6722 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-06/0.6941, allocations: 0 / 0.6722 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.6942, allocations: 48.52 kB / 0.6723 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.6943, allocations: 0 / 0.6723 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6943, allocations: 0 / 0.6723 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6943, allocations: 0 / 0.6723 GB, free: 14.19 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.6944, allocations: 149.6 kB / 0.6724 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6944, allocations: 32 / 0.6724 GB, free: 13.99 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.6944, allocations: 8 kB / 0.6724 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.6944, allocations: 0 / 0.6724 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.6944, allocations: 0 / 0.6724 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6944, allocations: 0 / 0.6724 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6945, allocations: 0 / 0.6724 GB, free: 13.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.6946, allocations: 65.08 kB / 0.6725 GB, free: 13.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.381e-05/0.6946, allocations: 77.11 kB / 0.6725 GB, free: 13.81 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.6946, allocations: 4.031 kB / 0.6725 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.227e-05/0.6946, allocations: 0 / 0.6725 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-06/0.6947, allocations: 3.938 kB / 0.6725 GB, free: 13.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.6947, allocations: 4 kB / 0.6725 GB, free: 13.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.967e-05/0.6947, allocations: 79.22 kB / 0.6726 GB, free: 13.72 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6947, allocations: 0 / 0.6726 GB, free: 13.72 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0001997/0.6949, allocations: 8 kB / 0.6726 GB, free: 13.71 MB / 474.7 MB 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.0004931/0.6954, allocations: 0.6124 MB / 0.6732 GB, free: 13.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 7.305e-05/0.6955, allocations: 4 kB / 0.6732 GB, free: 13.07 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.6955, allocations: 0 / 0.6732 GB, free: 13.07 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.199e-05/0.6955, allocations: 7.938 kB / 0.6732 GB, free: 13.06 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.248e-05/0.6956, allocations: 3.938 kB / 0.6732 GB, free: 13.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.6959, allocations: 109.1 kB / 0.6733 GB, free: 12.91 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.6962, allocations: 0.6731 MB / 0.674 GB, free: 12.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 2.137e-05/0.6963, allocations: 0 / 0.674 GB, free: 12.21 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.6963, allocations: 7.438 kB / 0.674 GB, free: 12.2 MB / 474.7 MB Notification: Performance of SimCode: time 3.2e-07/0.6963, allocations: 0 / 0.674 GB, free: 12.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01189/0.7082, allocations: 0.8168 MB / 0.6748 GB, free: 11.51 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/0.7084, allocations: 181.4 kB / 0.675 GB, free: 11.28 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/2.211, allocations: 4.062 kB / 0.675 GB, free: 11.27 MB / 474.7 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)