Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7315/0.7315, allocations: 127.3 MB / 139.8 MB, free: 15.42 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001495/0.001495, allocations: 184.8 kB / 169.7 MB, free: 1.727 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.759/1.759, allocations: 205.1 MB / 404.5 MB, free: 1.613 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009434/0.0009434, allocations: 101.6 kB / 481.8 MB, free: 4.262 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.709e-05/3.739e-05, allocations: 4 kB / 0.5533 GB, free: 54.7 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1708, allocations: 76.77 MB / 0.6283 GB, free: 9.875 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.508/0.6789, allocations: 102.9 MB / 0.7288 GB, free: 10.47 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.6792, allocations: 78.39 kB / 0.7288 GB, free: 10.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005698/0.6849, allocations: 1.898 MB / 0.7307 GB, free: 8.793 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6849, allocations: 0 / 0.7307 GB, free: 8.793 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.685, allocations: 4 kB / 0.7307 GB, free: 8.789 MB / 490.7 MB 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.000348/0.6853, allocations: 353.4 kB / 0.731 GB, free: 8.402 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.6854, allocations: 12.03 kB / 0.731 GB, free: 8.391 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.928e-05/0.6854, allocations: 34.31 kB / 0.7311 GB, free: 8.352 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.6855, allocations: 3.953 kB / 0.7311 GB, free: 8.348 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.6856, allocations: 167 kB / 0.7312 GB, free: 8.145 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.6856, allocations: 4 kB / 0.7312 GB, free: 8.141 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.6856, allocations: 0 / 0.7312 GB, free: 8.141 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.6858, allocations: 45.33 kB / 0.7313 GB, free: 8.098 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.6858, allocations: 0 / 0.7313 GB, free: 8.098 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.6858, allocations: 7.984 kB / 0.7313 GB, free: 8.09 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.6858, allocations: 0 / 0.7313 GB, free: 8.09 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.845e-05/0.6859, allocations: 19.2 kB / 0.7313 GB, free: 8.074 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001732/0.686, allocations: 165.1 kB / 0.7315 GB, free: 7.875 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.076e-05/0.6861, allocations: 41.08 kB / 0.7315 GB, free: 7.832 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/0.6862, allocations: 20.11 kB / 0.7315 GB, free: 7.816 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004729/0.6867, allocations: 0.5544 MB / 0.7321 GB, free: 7.133 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.6867, allocations: 34.56 kB / 0.7321 GB, free: 7.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.6867, allocations: 0 / 0.7321 GB, free: 7.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.001689/0.6884, allocations: 443.6 kB / 0.7325 GB, free: 6.641 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.6885, allocations: 59.3 kB / 0.7326 GB, free: 6.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.94e-05/0.6885, allocations: 85 kB / 0.7327 GB, free: 6.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.6885, allocations: 32.89 kB / 0.7327 GB, free: 6.445 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.6886, allocations: 84.27 kB / 0.7328 GB, free: 6.359 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.6886, allocations: 27.25 kB / 0.7328 GB, free: 6.336 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.6886, allocations: 4 kB / 0.7328 GB, free: 6.332 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.6888, allocations: 314.7 kB / 0.7331 GB, free: 6.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.658e-05/0.6888, allocations: 15.31 kB / 0.7331 GB, free: 6.008 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.301e-05/0.6888, allocations: 19.62 kB / 0.7331 GB, free: 5.996 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.111e-05/0.6889, allocations: 18.98 kB / 0.7332 GB, free: 5.984 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.6889, allocations: 0 / 0.7332 GB, free: 5.984 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001257/0.689, allocations: 87.34 kB / 0.7332 GB, free: 5.906 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.6891, allocations: 4 kB / 0.7332 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.6891, allocations: 4 kB / 0.7332 GB, free: 5.898 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.6891, allocations: 0 / 0.7332 GB, free: 5.898 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.6892, allocations: 19.98 kB / 0.7333 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.6892, allocations: 0.875 kB / 0.7333 GB, free: 5.879 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.569e-05/0.6893, allocations: 7.703 kB / 0.7333 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.6893, allocations: 4 kB / 0.7333 GB, free: 5.871 MB / 490.7 MB 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 (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 6.473e-05/0.6893, allocations: 108.4 kB / 0.7334 GB, free: 5.762 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.6894, allocations: 4 kB / 0.7334 GB, free: 5.758 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002133/0.6896, allocations: 99.2 kB / 0.7335 GB, free: 5.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.6896, allocations: 3.938 kB / 0.7335 GB, free: 5.676 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.6896, allocations: 0 / 0.7335 GB, free: 5.676 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6896, allocations: 3.984 kB / 0.7335 GB, free: 5.672 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.6897, allocations: 166.4 kB / 0.7336 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6898, allocations: 4 kB / 0.7337 GB, free: 5.465 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.946e-05/0.6899, allocations: 27.92 kB / 0.7337 GB, free: 5.438 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.6899, allocations: 0 / 0.7337 GB, free: 5.438 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.6899, allocations: 3 kB / 0.7337 GB, free: 5.438 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.6899, allocations: 0 / 0.7337 GB, free: 5.438 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6899, allocations: 0 / 0.7337 GB, free: 5.438 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.6901, allocations: 145.6 kB / 0.7338 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.6902, allocations: 77.11 kB / 0.7339 GB, free: 5.207 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.6902, allocations: 7.781 kB / 0.7339 GB, free: 5.203 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.044e-05/0.6902, allocations: 4.062 kB / 0.7339 GB, free: 5.199 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.6903, allocations: 4 kB / 0.7339 GB, free: 5.195 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.6903, allocations: 3.984 kB / 0.7339 GB, free: 5.191 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.807e-05/0.6903, allocations: 79.28 kB / 0.734 GB, free: 5.113 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6903, allocations: 3.938 kB / 0.734 GB, free: 5.109 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002356/0.6906, allocations: 35.75 kB / 0.734 GB, free: 5.078 MB / 490.7 MB 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 () * 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.0005493/0.6911, allocations: 0.706 MB / 0.7347 GB, free: 4.371 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001193/0.6913, allocations: 50.88 kB / 0.7348 GB, free: 4.336 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6913, allocations: 4 kB / 0.7348 GB, free: 4.332 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.741e-05/0.6913, allocations: 23.69 kB / 0.7348 GB, free: 4.316 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/0.6914, allocations: 5.312 kB / 0.7348 GB, free: 4.312 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004474/0.6919, allocations: 155.2 kB / 0.7349 GB, free: 4.137 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/0.6921, allocations: 0.6849 MB / 0.7356 GB, free: 3.426 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.509e-05/0.6922, allocations: 12.36 kB / 0.7356 GB, free: 3.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.299e-05/0.6923, allocations: 19.06 kB / 0.7356 GB, free: 3.395 MB / 490.7 MB Notification: Performance of SimCode: time 2.71e-07/0.6923, allocations: 0 / 0.7356 GB, free: 3.395 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01211/0.7044, allocations: 1.514 MB / 0.7371 GB, free: 2.039 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.7046, allocations: 200.4 kB / 0.7373 GB, free: 1.801 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/2.181, allocations: 2.031 kB / 0.7373 GB, free: 1.801 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)