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.472/2.472, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001497/0.001497, allocations: 188.8 kB / 360.6 MB, free: 7.262 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.262/2.262, allocations: 205.3 MB / 0.6191 GB, free: 12.19 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.00109/0.001089, allocations: 95 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.943e-05/3.94e-05, allocations: 8 kB / 0.8509 GB, free: 3.309 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8977/0.8978, allocations: 115.3 MB / 0.9634 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2399/1.138, allocations: 137.2 MB / 1.097 GB, free: 3.281 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/1.138, allocations: 80.45 kB / 1.098 GB, free: 3.203 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005213/1.143, allocations: 1.201 MB / 1.099 GB, free: 2.027 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.573e-06/1.143, allocations: 0.5938 kB / 1.099 GB, free: 2.027 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.43e-06/1.143, allocations: 2.281 kB / 1.099 GB, free: 2.027 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.0003075/1.144, allocations: 333.4 kB / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/1.144, allocations: 12.02 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.695e-05/1.144, allocations: 1.203 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/1.144, allocations: 167 kB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/1.144, allocations: 0.5938 kB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/1.144, allocations: 4 kB / 1.099 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.855e-05/1.144, allocations: 0.625 kB / 1.099 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.923e-05/1.144, allocations: 27.11 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/1.144, allocations: 2.844 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/1.144, allocations: 0 / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/1.144, allocations: 4.781 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/1.144, allocations: 130.8 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.997e-05/1.144, allocations: 15.27 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.323e-05/1.144, allocations: 13.52 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005975/1.145, allocations: 0.5594 MB / 1.1 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/1.145, allocations: 31.19 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.813e-06/1.145, allocations: 1.5 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001739/1.145, allocations: 35.3 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/1.145, allocations: 52.12 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.946e-05/1.145, allocations: 89 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/1.145, allocations: 26.64 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.426e-05/1.145, allocations: 80.14 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.163e-05/1.146, allocations: 8.562 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/1.146, allocations: 0.7188 kB / 1.1 GB, free: 164 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.146, allocations: 314.7 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.668e-06/1.146, allocations: 0 / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.505e-06/1.146, allocations: 0.6875 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.221e-05/1.146, allocations: 7.688 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.146, allocations: 0 / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.274e-05/1.146, allocations: 42.11 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/1.146, allocations: 8.688 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/1.146, allocations: 0 / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/1.146, allocations: 0.6875 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.534e-05/1.146, allocations: 0 / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/1.146, allocations: 8.844 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/1.146, allocations: 0 / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/1.146, allocations: 0.5 kB / 1.101 GB, free: 15.78 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 7.597e-05/1.146, allocations: 106.7 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.238e-05/1.146, allocations: 41.64 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-06/1.146, allocations: 4 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/1.146, allocations: 44.34 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.146, allocations: 0 / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.147, allocations: 4 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.147, allocations: 0 / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/1.147, allocations: 122.2 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/1.147, allocations: 0 / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.198e-05/1.147, allocations: 1.594 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/1.147, allocations: 11.95 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/1.147, allocations: 0 / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/1.147, allocations: 2.688 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.147, allocations: 0 / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/1.147, allocations: 61.12 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/1.147, allocations: 81.05 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/1.147, allocations: 3.953 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.497e-05/1.147, allocations: 4.031 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/1.147, allocations: 0 / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/1.147, allocations: 3.984 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.221e-05/1.147, allocations: 75.28 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.51e-07/1.147, allocations: 4 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002647/1.147, allocations: 13.25 kB / 1.101 GB, free: 15.12 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.0004447/1.148, allocations: 0.5969 MB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.331e-05/1.148, allocations: 4 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.148, allocations: 0 / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.427e-05/1.148, allocations: 7.938 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001146/1.148, allocations: 8.891 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002816/1.148, allocations: 77.66 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/1.149, allocations: 0.673 MB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.099e-05/1.149, allocations: 4 kB / 1.103 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.967e-05/1.149, allocations: 7.438 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of SimCode: time 6.41e-07/1.149, allocations: 0 / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/1.182, allocations: 0.5296 MB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004126/1.182, allocations: 156.4 kB / 1.103 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/3.527, allocations: 0 / 1.103 GB, free: 12.97 MB / 0.7136 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)