Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.748/2.748, allocations: 287.3 MB / 302.3 MB, free: 8.27 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.001522/0.001522, allocations: 182.2 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001098/0.001097, allocations: 94.14 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007814/0.0007817, allocations: 18.66 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2537, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9763/1.23, allocations: 138 MB / 1.113 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004122/1.23, allocations: 79.77 kB / 1.113 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008031/1.239, allocations: 1.214 MB / 1.114 GB, free: 31.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.258e-06/1.239, allocations: 0 / 1.114 GB, free: 31.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.975e-06/1.239, allocations: 0 / 1.114 GB, free: 31.48 MB / 0.698 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.0005022/1.239, allocations: 330.1 kB / 1.115 GB, free: 31.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.457e-05/1.239, allocations: 13.48 kB / 1.115 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.707e-05/1.239, allocations: 37.78 kB / 1.115 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.985e-05/1.239, allocations: 0 / 1.115 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/1.24, allocations: 168.3 kB / 1.115 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/1.24, allocations: 0 / 1.115 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/1.24, allocations: 0 / 1.115 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/1.24, allocations: 33.48 kB / 1.115 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/1.24, allocations: 0 / 1.115 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/1.24, allocations: 0 / 1.115 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/1.24, allocations: 0 / 1.115 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.346e-05/1.24, allocations: 3.938 kB / 1.115 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001948/1.24, allocations: 154.2 kB / 1.115 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.139e-05/1.24, allocations: 18.58 kB / 1.115 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009578/1.241, allocations: 0.556 MB / 1.116 GB, free: 29.97 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/1.241, allocations: 37.91 kB / 1.116 GB, free: 29.93 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 3.487e-06/1.241, allocations: 0 / 1.116 GB, free: 29.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0002115/1.241, allocations: 39.23 kB / 1.116 GB, free: 29.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/1.242, allocations: 55.41 kB / 1.116 GB, free: 29.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.756e-05/1.242, allocations: 85 kB / 1.116 GB, free: 29.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/1.242, allocations: 25.7 kB / 1.116 GB, free: 29.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.781e-05/1.242, allocations: 81.59 kB / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/1.242, allocations: 4.688 kB / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-06/1.242, allocations: 0 / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001929/1.242, allocations: 314.2 kB / 1.116 GB, free: 29.31 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.907e-05/1.242, allocations: 3.938 kB / 1.116 GB, free: 29.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.761e-05/1.242, allocations: 5.312 kB / 1.116 GB, free: 29.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.068e-05/1.242, allocations: 6 kB / 1.116 GB, free: 29.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/1.242, allocations: 0 / 1.116 GB, free: 29.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001181/1.242, allocations: 38.84 kB / 1.116 GB, free: 29.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/1.242, allocations: 7.75 kB / 1.116 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/1.242, allocations: 0 / 1.116 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/1.242, allocations: 0 / 1.116 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.585e-05/1.242, allocations: 1.453 kB / 1.116 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/1.242, allocations: 0.875 kB / 1.116 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.622e-05/1.242, allocations: 4.094 kB / 1.116 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/1.243, allocations: 3.812 kB / 1.116 GB, free: 29.26 MB / 0.698 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.0001156/1.243, allocations: 113.8 kB / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/1.243, allocations: 7.859 kB / 1.116 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/1.243, allocations: 39 kB / 1.116 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/1.243, allocations: 0 / 1.116 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.243, allocations: 0 / 1.116 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.243, allocations: 4.031 kB / 1.116 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/1.243, allocations: 151.2 kB / 1.117 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.243, allocations: 0 / 1.117 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/1.243, allocations: 7.781 kB / 1.117 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.247e-06/1.243, allocations: 3.953 kB / 1.117 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/1.243, allocations: 5.016 kB / 1.117 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.243, allocations: 0 / 1.117 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.243, allocations: 0 / 1.117 GB, free: 28.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/1.243, allocations: 62.94 kB / 1.117 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/1.243, allocations: 77.11 kB / 1.117 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.138e-05/1.243, allocations: 5.172 kB / 1.117 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.15e-05/1.244, allocations: 0 / 1.117 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/1.244, allocations: 3.875 kB / 1.117 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/1.244, allocations: 0 / 1.117 GB, free: 28.73 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.086e-05/1.244, allocations: 75.28 kB / 1.117 GB, free: 28.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.81e-07/1.244, allocations: 0 / 1.117 GB, free: 28.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000439/1.244, allocations: 13 kB / 1.117 GB, free: 28.65 MB / 0.698 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.0006947/1.245, allocations: 0.6025 MB / 1.117 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001002/1.245, allocations: 5.312 kB / 1.117 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/1.245, allocations: 0 / 1.117 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/1.245, allocations: 0 / 1.117 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/1.245, allocations: 15.92 kB / 1.117 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000509/1.246, allocations: 111.9 kB / 1.118 GB, free: 27.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000427/1.246, allocations: 0.6784 MB / 1.118 GB, free: 27.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.237e-05/1.246, allocations: 1.594 kB / 1.118 GB, free: 27.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/1.246, allocations: 11.28 kB / 1.118 GB, free: 27.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.402e-06/1.246, allocations: 0 / 1.118 GB, free: 27.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/1.268, allocations: 0.8113 MB / 1.119 GB, free: 27.06 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/1.269, allocations: 195.4 kB / 1.119 GB, free: 26.82 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/3.659, allocations: 0 / 1.119 GB, free: 26.82 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunction.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)