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.815/1.815, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.00149/0.00149, allocations: 177 kB / 377.1 MB, free: 1.562 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.916/1.916, allocations: 205.4 MB / 0.6366 GB, free: 8.629 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.0008946/0.0008945, allocations: 88.56 kB / 0.7509 GB, free: 63.16 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003863, allocations: 16 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2676, allocations: 116.3 MB / 0.9884 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7199/0.9875, allocations: 139.3 MB / 1.124 GB, free: 35.45 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/0.9878, allocations: 83.75 kB / 1.125 GB, free: 35.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004882/0.9927, allocations: 1.658 MB / 1.126 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9928, allocations: 0 / 1.126 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.9928, allocations: 0.5312 kB / 1.126 GB, free: 34.14 MB / 0.7292 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.0002869/0.9931, allocations: 339.4 kB / 1.126 GB, free: 33.76 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.9932, allocations: 15.08 kB / 1.126 GB, free: 33.75 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.203e-05/0.9932, allocations: 30.56 kB / 1.127 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.9932, allocations: 2.75 kB / 1.127 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.856e-05/0.9933, allocations: 163.2 kB / 1.127 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.9934, allocations: 0 / 1.127 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.9934, allocations: 11.38 kB / 1.127 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.9935, allocations: 25.7 kB / 1.127 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.9935, allocations: 4.516 kB / 1.127 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.9935, allocations: 0 / 1.127 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.9935, allocations: 0 / 1.127 GB, free: 33.47 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.931e-05/0.9936, allocations: 7.938 kB / 1.127 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000154/0.9937, allocations: 150.2 kB / 1.127 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.417e-05/0.9938, allocations: 18.95 kB / 1.127 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004126/0.9942, allocations: 0.5574 MB / 1.127 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.9943, allocations: 42.08 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.944e-06/0.9943, allocations: 0 / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001798/0.9945, allocations: 36.05 kB / 1.128 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.9945, allocations: 51.41 kB / 1.128 GB, free: 32.42 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.347e-05/0.9945, allocations: 85 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.9946, allocations: 26.36 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.768e-05/0.9946, allocations: 80.27 kB / 1.128 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.133e-05/0.9946, allocations: 9.562 kB / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.9946, allocations: 0 / 1.128 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.039e-05/0.9947, allocations: 314.8 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.1e-05/0.9947, allocations: 3.422 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.9948, allocations: 0 / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.126e-05/0.9948, allocations: 4.562 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.9948, allocations: 0 / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.064e-05/0.9949, allocations: 37.59 kB / 1.128 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.9949, allocations: 8.094 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.9949, allocations: 4 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.9949, allocations: 1.172 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.278e-05/0.995, allocations: 0.5625 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.995, allocations: 3.281 kB / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.296e-05/0.995, allocations: 0 / 1.128 GB, free: 31.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.995, allocations: 4.812 kB / 1.128 GB, free: 31.83 MB / 0.7292 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 6.645e-05/0.9951, allocations: 106.7 kB / 1.128 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.02e-05/0.9951, allocations: 7.859 kB / 1.128 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.9952, allocations: 50.03 kB / 1.128 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.9953, allocations: 4.703 kB / 1.128 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.9953, allocations: 0 / 1.128 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.9953, allocations: 3.938 kB / 1.128 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.094e-05/0.9954, allocations: 141.7 kB / 1.128 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.9954, allocations: 4.812 kB / 1.128 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.711e-05/0.9954, allocations: 4 kB / 1.128 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.9954, allocations: 3.375 kB / 1.128 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.9954, allocations: 7.984 kB / 1.128 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.9955, allocations: 0.6562 kB / 1.128 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9955, allocations: 0 / 1.128 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.835e-05/0.9955, allocations: 57.14 kB / 1.128 GB, free: 31.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.848e-05/0.9956, allocations: 81.7 kB / 1.129 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.9956, allocations: 0 / 1.129 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.044e-05/0.9956, allocations: 3.953 kB / 1.129 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.9956, allocations: 4.031 kB / 1.129 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.9956, allocations: 1.344 kB / 1.129 GB, free: 31.28 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.594e-05/0.9957, allocations: 79.28 kB / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.92e-07/0.9957, allocations: 0 / 1.129 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003225/0.996, allocations: 4 kB / 1.129 GB, free: 31.2 MB / 0.7292 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.0003424/0.9964, allocations: 0.6042 MB / 1.129 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.929e-05/0.9964, allocations: 8 kB / 1.129 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.9965, allocations: 0 / 1.129 GB, free: 30.56 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.125e-06/0.9965, allocations: 7.938 kB / 1.129 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.919e-05/0.9966, allocations: 4.609 kB / 1.129 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003093/0.9969, allocations: 113.3 kB / 1.129 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.997, allocations: 0.6776 MB / 1.13 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.501e-05/0.9971, allocations: 8.062 kB / 1.13 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.886e-05/0.9971, allocations: 8.281 kB / 1.13 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of SimCode: time 5.51e-07/0.9971, allocations: 0 / 1.13 GB, free: 29.69 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/1.01, allocations: 0.818 MB / 1.131 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/1.01, allocations: 183.5 kB / 1.131 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.771/2.781, allocations: 0 / 1.131 GB, free: 29.03 MB / 0.7292 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)