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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 289.9 MB / 297.4 MB, free: 6.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 172.9 kB / 366.7 MB, free: 1.633 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.2 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000823/0.000823, allocations: 83.34 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.914e-05/2.894e-05, allocations: 8 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7931/0.7932, allocations: 116.3 MB / 0.9734 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.205/0.9982, allocations: 138.6 MB / 1.109 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.9986, allocations: 78.81 kB / 1.109 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004773/1.003, allocations: 1.635 MB / 1.11 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.593e-06/1.003, allocations: 3.766 kB / 1.11 GB, free: 9.883 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.682e-06/1.003, allocations: 4 kB / 1.11 GB, free: 9.879 MB / 0.7136 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.0002625/1.004, allocations: 331.5 kB / 1.111 GB, free: 9.512 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.004, allocations: 12.03 kB / 1.111 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/1.004, allocations: 0.625 kB / 1.111 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/1.004, allocations: 171 kB / 1.111 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/1.004, allocations: 0.7188 kB / 1.111 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.767e-06/1.004, allocations: 0.5938 kB / 1.111 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.074e-05/1.004, allocations: 4 kB / 1.111 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.684e-05/1.004, allocations: 26.39 kB / 1.111 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/1.004, allocations: 0.9375 kB / 1.111 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/1.004, allocations: 0 / 1.111 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/1.004, allocations: 0 / 1.111 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/1.004, allocations: 132.2 kB / 1.111 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.027e-05/1.004, allocations: 21.94 kB / 1.111 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/1.004, allocations: 9.953 kB / 1.111 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004478/1.005, allocations: 0.5605 MB / 1.112 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/1.005, allocations: 35.09 kB / 1.112 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/1.005, allocations: 4 kB / 1.112 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001558/1.005, allocations: 31.17 kB / 1.112 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/1.005, allocations: 51.41 kB / 1.112 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.111e-05/1.005, allocations: 85.62 kB / 1.112 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/1.005, allocations: 28.52 kB / 1.112 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.182e-05/1.005, allocations: 80.64 kB / 1.112 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/1.005, allocations: 9.203 kB / 1.112 GB, free: 8.012 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-06/1.005, allocations: 3.938 kB / 1.112 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001042/1.005, allocations: 311.4 kB / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-06/1.005, allocations: 4 kB / 1.112 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.779e-06/1.005, allocations: 1.469 kB / 1.112 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.104e-05/1.005, allocations: 4 kB / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.005, allocations: 1.031 kB / 1.112 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.838e-05/1.005, allocations: 37.64 kB / 1.112 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.005, allocations: 11.94 kB / 1.112 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.005, allocations: 5.969 kB / 1.112 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/1.005, allocations: 0 / 1.112 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.211e-05/1.005, allocations: 0 / 1.112 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/1.005, allocations: 0 / 1.112 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.059e-05/1.005, allocations: 0 / 1.112 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/1.005, allocations: 5.281 kB / 1.112 GB, free: 7.625 MB / 0.7136 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 () * 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.636e-05/1.006, allocations: 101 kB / 1.112 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.998e-05/1.006, allocations: 34.48 kB / 1.112 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-06/1.006, allocations: 7.938 kB / 1.112 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.776e-05/1.006, allocations: 45.33 kB / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/1.006, allocations: 0 / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/1.006, allocations: 0.6562 kB / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/1.006, allocations: 0 / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.049e-05/1.006, allocations: 131.7 kB / 1.113 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/1.006, allocations: 0 / 1.113 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/1.006, allocations: 0 / 1.113 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/1.006, allocations: 3.984 kB / 1.113 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/1.006, allocations: 7.891 kB / 1.113 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/1.006, allocations: 4 kB / 1.113 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/1.006, allocations: 2.719 kB / 1.113 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.147e-05/1.006, allocations: 61.06 kB / 1.113 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.475e-05/1.006, allocations: 77.11 kB / 1.113 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/1.006, allocations: 4 kB / 1.113 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.139e-05/1.006, allocations: 6.453 kB / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/1.006, allocations: 3.031 kB / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/1.006, allocations: 0 / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.541e-05/1.006, allocations: 75.28 kB / 1.113 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.064e-06/1.006, allocations: 0 / 1.113 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001763/1.006, allocations: 11.94 kB / 1.113 GB, free: 6.98 MB / 0.7136 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 () * 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.0003885/1.007, allocations: 0.6049 MB / 1.113 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.648e-05/1.007, allocations: 7.938 kB / 1.113 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/1.007, allocations: 0 / 1.113 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.384e-06/1.007, allocations: 4 kB / 1.113 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.734e-05/1.007, allocations: 5.047 kB / 1.113 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/1.007, allocations: 77.83 kB / 1.113 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/1.007, allocations: 0.6807 MB / 1.114 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.175e-05/1.007, allocations: 3.203 kB / 1.114 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.6e-05/1.007, allocations: 7.438 kB / 1.114 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of SimCode: time 2.71e-07/1.007, allocations: 0 / 1.114 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01916/1.027, allocations: 0.5233 MB / 1.115 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/1.027, allocations: 146.5 kB / 1.115 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.428/2.455, allocations: 0 / 1.115 GB, free: 4.82 MB / 0.7136 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)