Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",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.73/2.73, allocations: 287.3 MB / 302.3 MB, free: 8.262 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.001534/0.001534, allocations: 175.5 kB / 370.8 MB, free: 10.87 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.226/2.226, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001171/0.00117, allocations: 98.59 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004893, allocations: 15.06 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2175, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9656/1.183, allocations: 138.2 MB / 1.113 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/1.183, allocations: 73.72 kB / 1.113 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008821/1.192, allocations: 1.849 MB / 1.115 GB, free: 31.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.405e-06/1.192, allocations: 0 / 1.115 GB, free: 31.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.826e-06/1.192, allocations: 0 / 1.115 GB, free: 31.16 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000469/1.193, allocations: 362.4 kB / 1.115 GB, free: 30.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/1.193, allocations: 7.688 kB / 1.115 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/1.193, allocations: 36.75 kB / 1.116 GB, free: 30.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.037e-05/1.193, allocations: 8.688 kB / 1.116 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/1.193, allocations: 163 kB / 1.116 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/1.193, allocations: 3.938 kB / 1.116 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/1.193, allocations: 7.781 kB / 1.116 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/1.193, allocations: 48.48 kB / 1.116 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.193, allocations: 0 / 1.116 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/1.193, allocations: 0 / 1.116 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/1.193, allocations: 4 kB / 1.116 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.947e-05/1.193, allocations: 10.59 kB / 1.116 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/1.194, allocations: 166.9 kB / 1.116 GB, free: 30.31 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/1.194, allocations: 46.09 kB / 1.116 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00066/1.194, allocations: 0.552 MB / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/1.194, allocations: 37.47 kB / 1.117 GB, free: 29.58 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 2.845e-06/1.194, allocations: 0 / 1.117 GB, free: 29.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.002732/1.197, allocations: 459.5 kB / 1.117 GB, free: 29.32 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/1.197, allocations: 51.41 kB / 1.117 GB, free: 29.25 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.556e-05/1.197, allocations: 85 kB / 1.117 GB, free: 29.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/1.197, allocations: 32.8 kB / 1.117 GB, free: 29.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/1.198, allocations: 80.14 kB / 1.117 GB, free: 29.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/1.198, allocations: 32.45 kB / 1.117 GB, free: 29.03 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/1.198, allocations: 0 / 1.117 GB, free: 29.03 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.198, allocations: 321.2 kB / 1.118 GB, free: 28.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.84e-05/1.198, allocations: 22.19 kB / 1.118 GB, free: 28.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.719e-05/1.198, allocations: 20.5 kB / 1.118 GB, free: 28.71 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.225e-05/1.198, allocations: 20.91 kB / 1.118 GB, free: 28.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/1.198, allocations: 3.938 kB / 1.118 GB, free: 28.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000246/1.198, allocations: 88.05 kB / 1.118 GB, free: 28.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/1.198, allocations: 3.531 kB / 1.118 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.198, allocations: 80 / 1.118 GB, free: 28.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/1.198, allocations: 3.984 kB / 1.118 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/1.198, allocations: 18.67 kB / 1.118 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/1.199, allocations: 3.984 kB / 1.118 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/1.199, allocations: 7.062 kB / 1.118 GB, free: 28.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/1.199, allocations: 3.812 kB / 1.118 GB, free: 28.66 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 (9): * Single equations (assignments): 9 * 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.0001078/1.199, allocations: 112.9 kB / 1.118 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/1.199, allocations: 7.812 kB / 1.118 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003312/1.199, allocations: 103.5 kB / 1.118 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/1.199, allocations: 0 / 1.118 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/1.199, allocations: 0 / 1.118 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.758e-06/1.199, allocations: 0 / 1.118 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/1.199, allocations: 173.9 kB / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/1.199, allocations: 3.047 kB / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001828/1.2, allocations: 11.72 kB / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/1.2, allocations: 0 / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/1.2, allocations: 3.75 kB / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/1.2, allocations: 3.844 kB / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.2, allocations: 4.062 kB / 1.118 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/1.2, allocations: 138.1 kB / 1.118 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/1.2, allocations: 87.47 kB / 1.118 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/1.2, allocations: 3.938 kB / 1.118 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.642e-05/1.2, allocations: 0 / 1.118 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/1.2, allocations: 6.766 kB / 1.118 GB, free: 28.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/1.2, allocations: 3.875 kB / 1.118 GB, free: 28.12 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.086e-05/1.2, allocations: 79.34 kB / 1.118 GB, free: 28.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.2, allocations: 96 / 1.118 GB, free: 28.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003279/1.201, allocations: 34.88 kB / 1.118 GB, free: 28.04 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (8): * Single equations (assignments): 8 * 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.0007462/1.201, allocations: 0.7032 MB / 1.119 GB, free: 27.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001914/1.202, allocations: 52.06 kB / 1.119 GB, free: 27.42 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.289e-06/1.202, allocations: 3.812 kB / 1.119 GB, free: 27.42 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.868e-05/1.202, allocations: 29.66 kB / 1.119 GB, free: 27.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/1.202, allocations: 0 / 1.119 GB, free: 27.42 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/1.203, allocations: 451.4 kB / 1.12 GB, free: 27.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/1.203, allocations: 0.6885 MB / 1.12 GB, free: 26.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001269/1.203, allocations: 14.88 kB / 1.12 GB, free: 26.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.988e-05/1.203, allocations: 11.25 kB / 1.12 GB, free: 26.37 MB / 0.698 GB Notification: Performance of SimCode: time 9.61e-07/1.203, allocations: 0 / 1.12 GB, free: 26.37 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/1.224, allocations: 1.487 MB / 1.122 GB, free: 26.21 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/1.224, allocations: 210 kB / 1.122 GB, free: 25.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.424/3.648, allocations: 0 / 1.122 GB, free: 25.97 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)