Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.322/2.322, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001632/0.001632, allocations: 173.1 kB / 325.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.403/2.403, allocations: 205.4 MB / 0.5764 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001246/0.001246, allocations: 101.7 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004849, allocations: 15.28 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2461/0.2466, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2721/0.5188, allocations: 131.9 MB / 1.028 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003588/0.5192, allocations: 79.95 kB / 1.028 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008897/0.5281, allocations: 1.842 MB / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5282, allocations: 0 / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.5282, allocations: 0 / 1.029 GB, free: 11.51 MB / 0.6823 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.0004767/0.5287, allocations: 359.2 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.5288, allocations: 8.031 kB / 1.03 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.48e-05/0.5288, allocations: 38.56 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.5289, allocations: 4 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.529, allocations: 163 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.529, allocations: 3.938 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.5291, allocations: 4 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.5292, allocations: 42.55 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.5292, allocations: 0 / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.5293, allocations: 4 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.5293, allocations: 3.984 kB / 1.03 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.489e-05/0.5293, allocations: 8 kB / 1.03 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002191/0.5296, allocations: 181.5 kB / 1.03 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.5297, allocations: 42.56 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000608/0.5303, allocations: 0.5544 MB / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.5304, allocations: 34.69 kB / 1.031 GB, free: 9.777 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/0.5304, allocations: 4 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.002716/0.5331, allocations: 450 kB / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.859e-05/0.5332, allocations: 63.34 kB / 1.031 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.978e-05/0.5333, allocations: 89 kB / 1.031 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.5334, allocations: 25.7 kB / 1.031 GB, free: 9.082 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.289e-05/0.5334, allocations: 80.14 kB / 1.032 GB, free: 9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.877e-05/0.5335, allocations: 27.64 kB / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.747e-06/0.5335, allocations: 0 / 1.032 GB, free: 8.973 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.5337, allocations: 318.8 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.885e-05/0.5337, allocations: 23.92 kB / 1.032 GB, free: 8.629 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.07e-05/0.5338, allocations: 24.06 kB / 1.032 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.801e-05/0.5339, allocations: 23.98 kB / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.5339, allocations: 0 / 1.032 GB, free: 8.582 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000228/0.5341, allocations: 89.53 kB / 1.032 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.5342, allocations: 8 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.383e-06/0.5342, allocations: 0 / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.5342, allocations: 0 / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.5344, allocations: 12 kB / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.5344, allocations: 0 / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.631e-05/0.5345, allocations: 0 / 1.032 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.5345, allocations: 4 kB / 1.032 GB, free: 8.465 MB / 0.6823 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.0001101/0.5346, allocations: 123.7 kB / 1.032 GB, free: 8.336 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.5347, allocations: 7.984 kB / 1.032 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003608/0.535, allocations: 105.9 kB / 1.032 GB, free: 8.219 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5351, allocations: 4 kB / 1.032 GB, free: 8.215 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.5351, allocations: 4.375 kB / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.5351, allocations: 0 / 1.032 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.5353, allocations: 173.6 kB / 1.032 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.341e-06/0.5353, allocations: 4 kB / 1.032 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001832/0.5355, allocations: 19.98 kB / 1.032 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.5355, allocations: 0 / 1.032 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.5355, allocations: 0 / 1.032 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.5355, allocations: 0 / 1.032 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.5356, allocations: 4 kB / 1.032 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.5359, allocations: 144.9 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.536, allocations: 77.11 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.536, allocations: 0 / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.282e-05/0.5361, allocations: 8.031 kB / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/0.5361, allocations: 3.984 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.5362, allocations: 4 kB / 1.033 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.5362, allocations: 75.28 kB / 1.033 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5362, allocations: 4.156 kB / 1.033 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003367/0.5366, allocations: 35.94 kB / 1.033 GB, free: 7.582 MB / 0.6823 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.0007722/0.5373, allocations: 0.7075 MB / 1.034 GB, free: 6.848 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.5376, allocations: 51.97 kB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5376, allocations: 7.938 kB / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.164e-05/0.5377, allocations: 28.06 kB / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.5378, allocations: 0 / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.5389, allocations: 454.9 kB / 1.034 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.5393, allocations: 0.6848 MB / 1.035 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.5394, allocations: 12.25 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.475e-05/0.5395, allocations: 11.44 kB / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of SimCode: time 6.81e-07/0.5395, allocations: 0 / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02302/0.5625, allocations: 1.5 MB / 1.036 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003178/0.5629, allocations: 207.6 kB / 1.036 GB, free: 3.961 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.441/3.004, allocations: 0 / 1.036 GB, free: 3.961 MB / 0.6823 GB